| View previous topic :: View next topic |
| Author |
Message |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Jan 30, 2008 11:24 am Post subject: |
|
|
I've gotten to make the image change when you put mouse over it but how do I make so that when you remove mouse, it gets back to original?
_________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Wed Jan 30, 2008 2:47 pm Post subject: |
|
|
Something like:
Form_MouseOver
[your picture code here]
Or the object around the picture
_________________
|
|
| Back to top |
|
 |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Jan 30, 2008 3:12 pm Post subject: |
|
|
Nothing Happens. Is there even a Form_MouseOver?
I've Tried:
| Code: | Private Sub Form_MouseOver()
Command2.Picture = LoadPicture(App.Path & "/CloseLostFocus.gif")
End Sub |
And
| Code: | Private Sub Form1_MouseOver()
Command2.Picture = LoadPicture(App.Path & "/CloseLostFocus.gif")
End Sub |
But none work -.-"
Edit: Nvm I put a object instead. Thanks
_________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Wed Jan 30, 2008 3:15 pm Post subject: |
|
|
No, you have to set it above, it will auto set the event for you.
This is the event:
| Code: | Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
End Sub |
_________________
|
|
| Back to top |
|
 |
|