Solved

Popup text on mouse over text field

Posted on 2004-09-23
13
970 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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 250 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 250 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

Industry Leaders: 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!

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

697 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