Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: QwertyMonster on March 03, 2005, 11:15 AM

Title: Tool Tip Text?
Post by: QwertyMonster on March 03, 2005, 11:15 AM
Hi. On Stealthbot he has like 7 odd lines for tooltiptext.

I was woundering; How do you do this?
Title: Re: Tool Tip Text?
Post by: iago on March 03, 2005, 11:23 AM
www.google.com --> multi line tooltip
Title: Re: Tool Tip Text?
Post by: QwertyMonster on March 03, 2005, 11:27 AM
Thanks!
Title: Re: Tool Tip Text?
Post by: QwertyMonster on March 03, 2005, 11:49 AM
I tried something and it didnt work! I have


  cmdCancel.ToolTipText = "This tip has a tab-indented list." & vbCrLf & vbCrLf & _
                          vbTab & "* Item 1" & vbCrLf & _
                          vbTab & "* Item 2" & vbCrLf & _
                          vbTab & "* Item 3"


and i get

This tip has a tab-indented list. <4 SQUARES> *Item 1 <3 squareS> *item 2 <3 SQUARES> * Item 3 <3 Squares>



Why? :/
Title: Re: Tool Tip Text?
Post by: iago on March 03, 2005, 12:33 PM
Because you need a special control.  It's not a real tooltip.  Again, google it, you should be able to find a class for it.
Title: Re: Tool Tip Text?
Post by: QwertyMonster on March 03, 2005, 12:40 PM
Yeah i found one and hes got a whole class module on it, it looks weird :P


Edit:

This code has a WHOLE module on it, and it all looks very confusing! Is there any easyier way to do it?
Title: Re: Tool Tip Text?
Post by: Networks on March 03, 2005, 01:08 PM
http://www.zeroforce.net -> Downloads -> Source Archive -> Visual Basic

Look for a multiline tooltip download example, I know there's one there.
Title: Re: Tool Tip Text?
Post by: QwertyMonster on March 03, 2005, 01:31 PM
Edit: Found it