• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 993
  • Last Modified:

Popup text on mouse over text field

How can I set popup text for mouse over text field?

I want some type of small popup text to display when the mouse lingers over a text field.
0
Axter
Asked:
Axter
  • 7
  • 5
2 Solutions
 
ClifCommented:
Set the ToolTip property to the text you want to display.
0
 
AxterAuthor Commented:
Exactly where is the ToolTip option?

What main listing?
0
 
AxterAuthor Commented:
Under properties listing, there is no ToolTip property.
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
ClifCommented:
First of all, what exactly do you mean by "Text Field"?

Almost all controls have a ToolTip property.
0
 
AxterAuthor Commented:
>>First of all, what exactly do you mean by "Text Field"?
An Edit field, which a user can add/modify text in.

>>Almost all controls have a ToolTip property.

That's what I thought to, but there is no ToolTip option.
0
 
ClifCommented:
You mean a TextBox?

What control are you referring to?
0
 
AxterAuthor Commented:
>>You mean a TextBox?

Yes, a TextBox.
0
 
ClifCommented:
By golly, you're right.  A TextBox doesn't have a ToolTip property.

In that case, you'll have to use a ToolTip component (in your toolbox)

Drop it on the form with contains the textbox you want to have the tooltip, then add the following to your form load event:

ToolTip1.SetToolTip(TextBox1, "Enter Some text")

Look here:
http://www.startvbdotnet.com/controls/datetime.htm#tt
0
 
AxterAuthor Commented:
The last time I did VB was in the 90's, and I could have sworn there was an option right from the properties menu for ToolTip.
Did they take that out with VB.Net?

I know for sure there is one for do VB on MS-Access.
0
 
ClifCommented:
Apparently they did.  I just brought up VB6 and ToolTipText is definitely in the property list.

Did you get the tooltip component to work as I described in my previous post?
0
 
ptakjaCommented:
You need to add a ToolTip control to your form. When you do this, the rest of the controls on your form will magically get the Tooltip property.  It will say "Tooltip On Tooltip1" (or whatever you named your tooltip).

You can have multiple tooltip object associated with your form for different controls, etc...
0
 
AxterAuthor Commented:
>>It will say "Tooltip On Tooltip1" (or whatever you named your tooltip).

That works great, and that's what I was looking for.
Thanks
0
 
AxterAuthor Commented:
Clif,
Thanks for your help.  
Your method also works, but I rather use a method that is closer to the one I'm more familiar with.
I split the points evenly.

Thank you both for your help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now