Get Current Control on Mouse over

Thinh

Registered User.
Local time
Today, 08:57
Joined
Dec 20, 2006
Messages
114
I am wondering if there is a easy way to get the control that the mouse i move over. I mean access has it built in with the controltip. It know what control the mouse i hovering over because it shows the controls controltiptext. It should be fairly easy to get the control that the mouse i hovering over or if anyone have the vba code for controltip would be helpful.

Thanks in advance
 
I think I understand what you're asking... See the On Mouse Move event in Help or search for those keywords in this forum...

Code:
Private Sub YourTextBoxName_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

  MsgBox "hello"

End Sub

Regards,
Tim
 
Hi,

There is a sample in the Sample Forum. Do a search for "ToolTip Control - No OCX - c/w example".

I am wondering if there is a easy way to get the control that the mouse i move over. I mean access has it built in with the controltip. It know what control the mouse i hovering over because it shows the controls controltiptext. It should be fairly easy to get the control that the mouse i hovering over or if anyone have the vba code for controltip would be helpful.
Thanks in advance
 

Users who are viewing this thread

Back
Top Bottom