PDA

View Full Version : Multiple lines in tooltips


markstaylor
12-04-2004, 03:10 PM
Can you have multiple lines in a tooltip?

I tried \r\n with no luck.

Mark

yosik
12-04-2004, 04:18 PM
Hi,
No, you cannot...at least not yet..
Yossi

Corey
12-04-2004, 04:26 PM
Hi. Yossi's right but you could easily adapt this to work with small paragraph object instead of an image, or even to show tooltip images when the mouse is over an object:

http://indigorose.com/forums/showthread.php?t=7602&highlight=mouse+position+dll

An idea anyhow...

markstaylor
12-04-2004, 05:59 PM
Thanks for the reply. It's not crucial I just had a big tool tip that would look beter as a paragraph style.

Thanks again

Mark

Worm
12-04-2004, 06:43 PM
I started this a while back, and haven't had the time to finish it. Basically you can set the tooltip of an object at runtime. It supports multi-line, and if you're on Win2K and above, does the balloon style tooltip.

The function ShowTip needs some tweaking. Sometimes the tooltip shows in an odd spot or two. I'm submitting this for someone who may want to take on the task of narrowing down the issue(s), I simply don't have the time to do it myself, but think it would be a nice thing for all of us once the bugs are worked out.

If anyone does take on the task, all I ask is that you share it with the rest of us.

Corey
12-04-2004, 06:49 PM
Cool Worm! :yes

Stefan_M
12-05-2004, 03:56 AM
Sample:
Paragraph as Tooltip

Scripts:
Global Functions
Button: On Enter
Page: On Timer


Stefan_M

TJ_Tigger
12-05-2004, 12:41 PM
I had an idea similar to what Stefan_M did. This function will allow you to place the code on a button or label. I am still working on tweaking some of the settings.

Anywho, here is my go at it.