[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Popup text on mouse over text field

Posted on 2004-09-23
13
Medium Priority
?
991 Views
Last Modified: 2012-08-14
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
Comment
Question by:Axter
  • 7
  • 5
13 Comments
 
LVL 10

Expert Comment

by:Clif
ID: 12136674
Set the ToolTip property to the text you want to display.
0
 
LVL 30

Author Comment

by:Axter
ID: 12136688
Exactly where is the ToolTip option?

What main listing?
0
 
LVL 30

Author Comment

by:Axter
ID: 12136710
Under properties listing, there is no ToolTip property.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Clif
ID: 12136714
First of all, what exactly do you mean by "Text Field"?

Almost all controls have a ToolTip property.
0
 
LVL 30

Author Comment

by:Axter
ID: 12136737
>>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
 
LVL 10

Expert Comment

by:Clif
ID: 12136751
You mean a TextBox?

What control are you referring to?
0
 
LVL 30

Author Comment

by:Axter
ID: 12136769
>>You mean a TextBox?

Yes, a TextBox.
0
 
LVL 10

Assisted Solution

by:Clif
Clif earned 1000 total points
ID: 12136895
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
 
LVL 30

Author Comment

by:Axter
ID: 12136956
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
 
LVL 10

Expert Comment

by:Clif
ID: 12141764
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
 
LVL 14

Accepted Solution

by:
ptakja earned 1000 total points
ID: 12143416
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
 
LVL 30

Author Comment

by:Axter
ID: 12144015
>>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
 
LVL 30

Author Comment

by:Axter
ID: 12144037
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question