Solved

Display Tooltips arbitrarily as Baloon Help

Posted on 2001-06-27
4
150 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

707 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

15 Experts available now in Live!

Get 1:1 Help Now