|
-
May 18th, 1999, 05:57 PM
#1
Mouse and an image?
I have two images: imgSaveUp and imgSaveDown ( it acks like a button )
defaults: imgSaveUp.Visible =True
imgSaveDown.Visible= False
And in
Private Sub imgSaveUp_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
imgSaveUp.Visible = True
imgSaveDown.Visible = False
End Sub
Private Sub imgSaveUp_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
imgSaveUp.Visible = False
imgSaveDown.Visible = True
End Sub
So that pressing on the imgSaveUp causes to look like a button is pressed. What I would like to do is also use the mouse that when it is over the button it makes it look like its been pressed but when the mouse is off the button it goes back to its normal state. I know there is a MouseMove event but i need to know I guess were the mouse is and if its on top of the image.
Any ideas on how to accomplish this?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|