Hello to everybody, i'm an italian guy. I'm sorry for my english, i'm a learner. I woul like to do a routine with access 2003 that when the mouse pointer pass over a textbox, a form has opened. Moreover the form must be closed when the mouse pointer leave the textbox. How can i do it in access, if there aren't the event mouseenter and mouseleave for textbox? Thank you for everybody.
What is the purpose of this form, sebring? The MouseOver and opening the form is no problem, but once the second form is open, it will have the focus, and moving the mouse off the textbox on the first form will not work, the user would have to close the form.
If your purpose is to display text (as in a help message) you can use a label for the text, hide it when the form opens, then display it/hide using Mouse Over. Here's an example of that technique.
To show the label:
Code:
Private Sub ClientName_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblClientNameHelp.Visible = True
End Sub
Then to hide it:
Code:
Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblClientNameHelp.Visible = False
End Sub
What is the purpose of this form, sebring? The MouseOver and opening the form is no problem, but once the second form is open, it will have the focus, and moving the mouse off the textbox on the first form will not work, the user would have to close the form.
If your purpose is to display text (as in a help message) you can use a label for the text, hide it when the form opens, then display it/hide using Mouse Over. Here's an example of that technique.
To show the label:
Code:
Private Sub ClientName_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblClientNameHelp.Visible = True
End Sub
Then to hide it:
Code:
Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblClientNameHelp.Visible = False
End Sub