ericJA
May 18th, 1999, 05:57 PM
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
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