CJBIRKIN
Drink!
- Local time
- Today, 09:37
- Joined
- May 10, 2002
- Messages
- 255
Hi
Does anyone know if there's a way of determining what control the cursor is currently over without using any of the events of the control itself.
--more details--
What i have is a help file that is a form with the background set to a picture of part of a complex paper form.
The user is able to select a command button which changes the cursor to a ? mark. When this is clicked on an entry form object the help form is displayed with an arrow pointing to the position on the paper form where the data can be found. At present the events are fired from the object. i.e
I have nearly 100 pieces of data to enter and consequently many objects. If i could use an event at form level to determine the control being interrogated i could dramatically reduce the amount of code.
Any clues?
Thanks
Chris
Does anyone know if there's a way of determining what control the cursor is currently over without using any of the events of the control itself.
--more details--
What i have is a help file that is a form with the background set to a picture of part of a complex paper form.
The user is able to select a command button which changes the cursor to a ? mark. When this is clicked on an entry form object the help form is displayed with an arrow pointing to the position on the paper form where the data can be found. At present the events are fired from the object. i.e
Code:
Private Sub names_click()
If GETCURSORSTYLING = 112 Then
MODULE_HELP.HELPFILE Me.Names.Tag
End If
End Sub
I have nearly 100 pieces of data to enter and consequently many objects. If i could use an event at form level to determine the control being interrogated i could dramatically reduce the amount of code.
Any clues?
Thanks
Chris