Solved

Display Tooltips arbitrarily as Baloon Help

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…

809 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