Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Mouseover event

Posted on 2003-10-26
3
Medium Priority
?
191 Views
Last Modified: 2010-05-01
Hi experts...

I have a number of "Shapes" on my form in a control array (index). I would like to display a variable string as tool tip text when the mouse is placed over the shape.

Does anyone know how to do this?

Thanks
0
Comment
Question by:robbrownuk
3 Comments
 
LVL 4

Expert Comment

by:brother7
ID: 9623658
Is this VB6 or VB.NET?
0
 
LVL 2

Author Comment

by:robbrownuk
ID: 9623919
VB6
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 60 total points
ID: 9624587
From the help file:

Using Shape and Line Controls
Shape and line controls are useful for drawing graphical elements on the surface of a form. These controls don't support any events; they are strictly for decorative purposes.

You could use the image or picturebox controls to display your "shapes" and then have the ability to trap the mousemove event.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

810 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