J
Jesper F
I need to run the same function in many controls' MouseDown, MouseMove and
MouseUp events.
I'm trying to write functions fMouseDown, fMouseMove and fMouseUp for this
and just write ex. "=fMouseMove" in the controls' property sheets instead of
inserting the code in event procedures for alle the controls.
However, the functions require the values for the X and Y coordinates that
are returned by these events. And since I'm trying to write functions x and
y aren't available?
Is there a way to get the mouse coordinates without creating for code for
each event procedure for all the controls?
Thanks for any input.
MouseUp events.
I'm trying to write functions fMouseDown, fMouseMove and fMouseUp for this
and just write ex. "=fMouseMove" in the controls' property sheets instead of
inserting the code in event procedures for alle the controls.
However, the functions require the values for the X and Y coordinates that
are returned by these events. And since I'm trying to write functions x and
y aren't available?
Is there a way to get the mouse coordinates without creating for code for
each event procedure for all the controls?
Thanks for any input.