|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Murt
Joined: 26 Sep 2006 Posts: 9
|
Posted: Mon Nov 20, 2006 10:18 am Post subject: tooltip help |
|
|
Hi,
I am using ClearWin format code %th to create tooltip help for some of the buttons and a graphics region.
The code I am using is:
i=winio@('%th[ms_style]&',1)
I would like the tooltip help to appear underneath the mouse pointer instead of the control. I would also like to change the tooltip help in runtime so the tooltip comment reflects the current file selected.
The problem I am having is, when you select a file the graphics region, where the tooltip help is suppose to come (when the mouse enters the region), it shows TWO tooltips instead of one. One is shown dead centre and underneath the graphics region and the other below the mouse pointer.
The one below the graphics region remains static all the time and uses the comment that is initially entered when initiating the %gr code, i.e.
i=winio@('%`ap%`?gr[rgb_colours,flush][u][Saved graph preview box][/u]%lc&',36.20D0,2.20D0,340,225,786,myGRCtrl)
I also use set_tooltip_text@() in order to change the text dynamically.
I hope this makes sense?!
Any suggestions would be greatly appreciated.
Thank you
Murt
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7926 Location: Salford, UK
|
Posted: Mon Nov 20, 2006 12:46 pm Post subject: tooltip help |
|
|
Murt
It is possible that this reflects a bug in ClearWin+.
a) Do both the tooltips have the Microsoft style (with the same shaded offset border)?
b) Are you using %di?
c) Can you post a small working program that illustrates the problem? |
|
Back to top |
|
|
Murt
Joined: 26 Sep 2006 Posts: 9
|
Posted: Tue Nov 21, 2006 10:16 am Post subject: tooltip help |
|
|
Hey,
I managed to figure out the problem. I needed to make %gr use a call-back function, so I created a dummy call-back function and that sorted it out.
I see you mentioned the offset shaded border.... I dont seem to see that on my tooltips?!
But THANX for your suggestion, sorry if I wasted anyones time by posting this.
Kind regards
Murt |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|