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?
Printable View
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?
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
[email protected]
ICQ# 47799046
Do you mean Combo1.ToolTipText = "My message"?
------------------
Marty
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
[email protected]
ICQ# 47799046