Button_Down / Butto_Up with X and y coordinates


Licensed User
Longtime User
Hi Erel,
I am intersted having the X and Y coordinates in the Button_Down and Button_Up events, like in the Touch event.
I would use them for a Tooltip function.
Button_Down shows the Tooltip.
Button_Up hides the Tooltip, if X and Y are insides the Button area the code is executed, if outsides no code is executed.
This allows to check the Button's function without executing it.
Button_Down - moving outsides the Button area - Button_Up -> function check.
Button_Down - staying insides the Button area - Button_Up -> function execution.

Best regards.