|
-
Sep 7th, 2000, 05:59 PM
#1
How do i recreate Javascript's 'mouseover' event, for example, if i move the mouse over a command button, i want the status bar to display a certain text, and when the mouse moves off the button, the staus bar text clears, how do i do that??
-
Sep 7th, 2000, 06:21 PM
#2
-
Sep 7th, 2000, 06:23 PM
#3
Frenzied Member
here you go
Code:
'assuming that the button is Command1 and the label is Label1 and the form is form1
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.Caption = "You have your cursor on the button"
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.Caption = ""
End Sub
NXSupport - Your one-stop source for computer help
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
|