Solved

Display Tooltips arbitrarily as Baloon Help

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 52
Access Object Property from VBA Module in Excel 2010 2 37
VB6 ListBox Question 4 48
Problem to With line 4 63
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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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