Results 1 to 3 of 3

Thread: Multi-line tool tips SOLVED

  1. #1

    Thread Starter
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159

    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.

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Just use the newline character \n.
    Code:
    toolTip1.SetToolTip(button1, "I'm a multiline tooltip \nI'm on the second line");

  3. #3

    Thread Starter
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159
    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
  •  



Click Here to Expand Forum to Full Width