Solved

Display Tooltips arbitrarily as Baloon Help

Posted on 2001-06-27
4
151 Views
Last Modified: 2008-03-10
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.
0
Comment
Question by:akashsri
4 Comments
 

Expert Comment

by:Joeskin
ID: 6263806

the tooltip can be found on the particular control's properties -> tooltiptext
0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6268018
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 : )
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7139852
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
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 7178871
Placed in PAQ

Computer101
E-E Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now