Rogue Programme
Registered User.
- Local time
- Today, 15:23
- Joined
- Jul 16, 2003
- Messages
- 55
I have created a transparent label on a form footer that will appear when the user mousemoves over a command button...
Example
User moves mouse over command button.
Form footer text appears "Go to Employee Details Screen"
When user mousemoves off command button the footer text dissapears.
However, at the moment when i mousemove on command button the helptext appears on form footer but will not dissapear when mousemove off command button.
This is the code i have used on HelpText label...
Private Sub HelpText_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
Me![HelpText].Caption = ""
End Sub
This is the code i use for OnMouseMove on command button..
Private Sub cmdemployee_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
Me![HelpText].Caption = "Go to Employee Details Screen"
End Sub
Can anyone tell me why the text will not dissapear when i mousemove off command button?
Mike
Example
User moves mouse over command button.
Form footer text appears "Go to Employee Details Screen"
When user mousemoves off command button the footer text dissapears.
However, at the moment when i mousemove on command button the helptext appears on form footer but will not dissapear when mousemove off command button.
This is the code i have used on HelpText label...
Private Sub HelpText_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
Me![HelpText].Caption = ""
End Sub
This is the code i use for OnMouseMove on command button..
Private Sub cmdemployee_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
Me![HelpText].Caption = "Go to Employee Details Screen"
End Sub
Can anyone tell me why the text will not dissapear when i mousemove off command button?
Mike
Last edited: