Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop up text

Status
Not open for further replies.

bluedragon2

IS-IT--Management
Jan 24, 2003
2,642
0
0
US
Is it possible to roll over a shape and have a text box pop up?

Thanks

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
As far as I know, shapes don't have programmable events. However, you could place a transparent label over top of the shape and then place your pop up code in the MouseMove event.

For example, the following would display a message box whenever the mouse cursor moves over a command button:
Code:
Private Sub cmdOK_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
    MsgBox "Hello World!"
End Sub
Hopefully that gives you some ideas.
 
Thanks Insider, I will see what that can do for me.



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top