Link to home
Start Free TrialLog in
Avatar of akashsri
akashsri

asked on

Display Tooltips arbitrarily as Baloon Help

How can I display a ToolTip arbitrarily  whenever a control recieves focus i. e. whenever a control receives focus irrespective of from keyboard or mouse the tooltip should automatically pop up.
Also can I use ToolTip to display informational messages, say for input errors when a user is entering data into  a control. For example, if a TextBox is supposed to accept numeric data only, then if the user tries to enter Aphabetic data into it then the message should be displayed in ToolTip rather than MsgBox.
A kind of Baloon Help to be precise.
This is to be done through VB only, API can be used.
Avatar of Joeskin
Joeskin


the tooltip can be found on the particular control's properties -> tooltiptext
Avatar of glass_cookie
Why not try using the message box instead?  ANother method would be setting the tooltip text upon detecting the error, then send the mouse over that control in order for the tooltip to pop up.

Here's a link that might help you:

Download...
http://www.vb-helper.com/Howto/mseevnt.zip

Description: Move the mouse and click a button programmatically (3K)

You may also want to midofy this one to move the mouse:

Download...
http://www.vb-helper.com/Howto/curspos.zip
Description: Make an annoying game (2K)

That's it!

glass cookie : )
Hi akashsri,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Refund points and save as a 0-pt PAQ.

EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial