raymond30031
New Member
- Joined
- Jan 19, 2011
- Messages
- 20
Hello,
I have labels with different names and I hope to attach pictures to them for people to understand better what those names mean.
When the user hover the mouse over the label a picture will pop, and the picture will disappear when the mouse leave the label.
Here is what I have, The picture does show up, but I do not know how to make the picture disappear when the mouse leaves the label.
I have thought of using delay to display the picture for 5 secs and change visible to false, but i am just wondering if there is a way to code this to the way I hope.
I have labels with different names and I hope to attach pictures to them for people to understand better what those names mean.
When the user hover the mouse over the label a picture will pop, and the picture will disappear when the mouse leave the label.
Here is what I have, The picture does show up, but I do not know how to make the picture disappear when the mouse leaves the label.
I have thought of using delay to display the picture for 5 secs and change visible to false, but i am just wondering if there is a way to code this to the way I hope.
Code:
Private Sub Label10_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Sheet2.Shapes("Picture 5").Visible = True