|
-
Dec 16th, 1999, 04:17 AM
#1
Thread Starter
Lively Member
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?
-
Dec 16th, 1999, 04:21 AM
#2
Hyperactive Member
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
-
Dec 16th, 1999, 04:23 AM
#3
Do you mean Combo1.ToolTipText = "My message"?
------------------
Marty
-
Dec 16th, 1999, 05:32 AM
#4
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|