Click to See Complete Forum and Search --> : alt tag
Insane Killa
Dec 16th, 1999, 03:17 AM
on some programs when your cursor goes over a button for example a little message similar to the alt tag in web pages pops up how do you do this in vb?
Gimpster
Dec 16th, 1999, 03:21 AM
It is called "ToolTipText" and you set it in the properties window of the object you want to set the tool tip for. Just type in the text that you want displayed and that's all you have to do. The next time you run your program and the cursor goes over that object, you will see your tool tip.
------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046
MartinLiss
Dec 16th, 1999, 03:23 AM
Do you mean Combo1.ToolTipText = "My message"?
------------------
Marty
Gimpster
Dec 16th, 1999, 04:32 AM
Yup, that's exactly how you would do it, if you needed to set the ToolTipText at runtime. Otherwise it's equally easy to just set it at design time in the properties menu.
------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.