Don´t know, if it is a bug or if this thread would better be placed under "Wishlist"
It isn´t possible to create a multiline Gadgettooltip with GadgetToolTip()
In the German Forum there is a thread about that and I thought it should be posted here
Here the link to this thread http://www.robsite.de/php/pureboard/vie ... c547dec739
Multiline GadgetTooltip
Multiline GadgetTooltip
Give Up everything but trying!
Re: Multiline GadgetTooltip
cool and very old
.
But my desire is to these Multiline or another, which create multiple lines with "# CRLF $" is in
a GadgetToolTip.
Regards, Falko

But my desire is to these Multiline or another, which create multiple lines with "# CRLF $" is in
a GadgetToolTip.
Regards, Falko
Re: Multiline GadgetTooltip
I would like to see this, too. Best would be HTML tooltips, but linebreaks would be great, too.
Kukulkan
Kukulkan
-
- Enthusiast
- Posts: 443
- Joined: Sun Apr 06, 2008 12:54 pm
- Location: Brisbane, Qld, Australia
- Contact:
Re: Multiline GadgetTooltip
I don't know what was in that original thread mentioned by Franky as that link jut gives a 404. However, I use code based in info supplied by RASHAD in this topic: Increase display time of tooltip?. Although my query was about increasing the display time, the solution offered also supports multi-line tooltips. However, afaik it is not possible to specifically nominate where line breaks occur, but I find this solution to be ideal for my requirements, so hopefully this will be of use for you as well.
The code I have implemented is this:
The code I have implemented is this:
Code: Select all
Procedure setToolTipControls()
Protected ttip
ttip = FindWindow_("tooltips_class32",0)
If ttip
SendMessage_(ttip,#TTM_SETMAXTIPWIDTH,0,500) ; maximum width set to 500 pixels
SendMessage_(ttip,#TTM_SETDELAYTIME,#TTDT_INITIAL,0) ; cause tooltip to be displayed immediately
SendMessage_(ttip,#TTM_SETDELAYTIME,#TTDT_AUTOPOP,30000) ; time (in ms) tooltip will remain visible
EndIf
EndProcedure
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Multiline GadgetTooltip
You could DIY. Use a border-less Window containing an Editor, Canvas or WebGadget.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Multiline GadgetTooltip
Nice idea, I hadn't thought of that. Will give it a try.IdeasVacuum wrote:You could DIY. Use a border-less Window containing an Editor, Canvas or WebGadget.

Presumably I could use the same window for many 'Tooltips', by just changing the text and moving the window around.
DE AA EB
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Multiline GadgetTooltip
...yes - another good thing is that you can have images/illustrations in your DIY Tooltip, making the tip do more for your User.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Multiline GadgetTooltip
@ozzie , very, very good. Thank you for a better Purebasic tooltip-Control 
