|
-
Jul 29th, 2003, 06:08 AM
#1
Thread Starter
Addicted Member
Multi-line tool tips SOLVED
Hi,
Does anybody know how to create a tool tip with multiple lines (or embedded carriage returns)?. Similar to that in windows explorer if you hold your mouse over an excel spreadsheet (for example) you get a tooltip with four lines in it.
Thanks in advance,
DJ
Last edited by DJ_Catboy; Jul 29th, 2003 at 10:11 AM.
-
Jul 29th, 2003, 10:06 AM
#2
Frenzied Member
Just use the newline character \n.
Code:
toolTip1.SetToolTip(button1, "I'm a multiline tooltip \nI'm on the second line");
-
Jul 29th, 2003, 10:10 AM
#3
Thread Starter
Addicted Member
Hi,
Thanks. Just as a point for those who are interested; using the "Tooltip on Tooltip1" property in the property dialog box does not work!!!
Thanks,
DJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|