pobuckley
January 24th, 2003, 09:45 AM
Hi there
What is the equivalent tooltiptext property for Vb.net. Once the mouse if over a textbox I want a comment to appear.
Thanks
DaddyGweedo
January 24th, 2003, 01:15 PM
It's very easy with VB .Net
All you have to do is this:
In the designer, drag the ToolTip object from the Toolbox.
It will show up in the components section of the designer.
Now all controls on the form with have a ToolTip on ToolTip1 property in the properties window. You can set it from there.
If you want to set a tooltip for a control at run time, you do the above steps, then use the following code:
ToolTip1.SetToolTip(aControl, "The New Message")