TOOLTIPCOLOR and TOOLTIPFONT problem
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
TOOLTIPCOLOR and TOOLTIPFONT problem
TOOLTIPCOLOR and TOOLTIPFONT problem
I have been having a problem with TOOLTIPCOLOR and TOOLTIPFONT for a long time
When I don't use these two commands the tooltip works fine.
When I use these two commands:
DCGETOPTIONS ;
TOOLTIPCOLOR GRA_CLR_BLACK,GRA_CLR_YELLOW TOOLTIPFONT "10.Consolas"
or just one of them
DCGETOPTIONS ;
TOOLTIPCOLOR GRA_CLR_BLACK, GRA_CLR_YELLOW
or
DCGETOPTIONS ;
TOOLTIPFONT "10.Consolas"
tooltip is duplicated or tripled and it looks confusing and ugly
as in the attached picture.
Does anyone know a solution to this problem, if there is a solution,
because it is necessary and important for me to use the tooltip
with a different font and a different background color.
// Alaska Xbase++ version 2.0.1503 //
// eXpress++ version 2.0.268 //
// Windows 10 64 byt.
I have been having a problem with TOOLTIPCOLOR and TOOLTIPFONT for a long time
When I don't use these two commands the tooltip works fine.
When I use these two commands:
DCGETOPTIONS ;
TOOLTIPCOLOR GRA_CLR_BLACK,GRA_CLR_YELLOW TOOLTIPFONT "10.Consolas"
or just one of them
DCGETOPTIONS ;
TOOLTIPCOLOR GRA_CLR_BLACK, GRA_CLR_YELLOW
or
DCGETOPTIONS ;
TOOLTIPFONT "10.Consolas"
tooltip is duplicated or tripled and it looks confusing and ugly
as in the attached picture.
Does anyone know a solution to this problem, if there is a solution,
because it is necessary and important for me to use the tooltip
with a different font and a different background color.
// Alaska Xbase++ version 2.0.1503 //
// eXpress++ version 2.0.268 //
// Windows 10 64 byt.
- Attachments
-
- TOOLTIPCOLOR.jpg (67.39 KiB) Viewed 16874 times
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
I will look into this.
I recall someone showing me this years ago but he could not give me a sample program.
Here is my test program. It does not reproduce your problem.
Can you give me a complete program that I can compile and run?
I recall someone showing me this years ago but he could not give me a sample program.
Here is my test program. It does not reproduce your problem.
Can you give me a complete program that I can compile and run?
Code: Select all
#INCLUDE "dcdialog.CH"
FUNCTION Main()
LOCAL GetList[0], GetOptions, dDate := Date()
@ 0,0 DCGET dDate TOOLTIP 'Enter a Date'
DCGETOPTIONS ;
TOOLTIPCOLOR GRA_CLR_BLACK,GRA_CLR_YELLOW TOOLTIPFONT "16.Consolas"
DCREAD GUI FIT TITLE 'Tooltip problem' OPTIONS GetOptions
RETURN nil
The eXpress train is coming - and it has more cars.
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
The eXpress train is coming - and it has more cars.
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Hi Roger,
Thanks for your reply.
I am sending additional information in a docx file.
Thanks for your reply.
I am sending additional information in a docx file.
- Attachments
-
- TOOLTIPCOLOR-TOOLTIPFONT.zip
- (605.8 KiB) Downloaded 900 times
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Did you try the dclipx.dll link?
Bobby Drakos reminded me that I fixed this problem for him about 1 year ago.
Bobby Drakos reminded me that I fixed this problem for him about 1 year ago.
The eXpress train is coming - and it has more cars.
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Hi Roger
That's the first thing I did. I tried my application with DCLIPX.DLL which I downloaded from the forum (where you posted it). Nothing has changed. The problem is not solved.
That's the first thing I did. I tried my application with DCLIPX.DLL which I downloaded from the forum (where you posted it). Nothing has changed. The problem is not solved.
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Are you unable to give me a sample program that demonstrates the problem?
You claim that you have a large program with multiple windows and threads, but I have many customers with such applications and I am not hearing reports of this problem.
You claim that you have a large program with multiple windows and threads, but I have many customers with such applications and I am not hearing reports of this problem.
The eXpress train is coming - and it has more cars.
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Hi,
I'm using the tooltips troughout my application and I never saw this problem.
I also have a different color and font.
I have this at the start of my application:
I'm using the tooltips troughout my application and I never saw this problem.
I also have a different color and font.
I have this at the start of my application:
Code: Select all
DCGETOPTIONS ;
...
TOOLTIPCOLOR ABO_DARKGRAY, ABO_IVORY ;
TOOLTIPFONT '9.Arial' ;
...
DC_GetOptDefault(GetOptions)
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Hi Roger,
at your request I am sending the program with tooltipcolor
at your request I am sending the program with tooltipcolor
- Attachments
-
- [KASA2024-RogerDonnay].zip
- (2.11 MiB) Downloaded 1026 times
- slobodan1949
- Posts: 82
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: TOOLTIPCOLOR and TOOLTIPFONT problem
Note:
Commands are set only in the module:
1_KASA_stolovi_screen.prg
DCGETOPTIONS NOESCAPEKEY ICON 1;
WINDOWWIDTH 985 WINDOWHEIGHT 860 ;
AUTORESIZE ;
HIDE TOOLTIPCOLOR GRA_CLR_BLACK,GRA_CLR_YELLOW TOOLTIPFONT "10.Consolas"
Commands are set only in the module:
1_KASA_stolovi_screen.prg
DCGETOPTIONS NOESCAPEKEY ICON 1;
WINDOWWIDTH 985 WINDOWHEIGHT 860 ;
AUTORESIZE ;
HIDE TOOLTIPCOLOR GRA_CLR_BLACK,GRA_CLR_YELLOW TOOLTIPFONT "10.Consolas"