Solved

Mouseover event

Posted on 2003-10-26
3
183 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 85

Accepted Solution

by:
Mike Tomlinson earned 20 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

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

Title # Comments Views Activity
VBA loop through headers using value 3 56
how to open Waze.com/livemap from address saved in DB? 26 173
Use closed file on desktop in vba 6 65
Help me. 3 43
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

932 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

19 Experts available now in Live!

Get 1:1 Help Now