|
|
|
|
|
- Overview
- Actions performed by the user
Optional events: Information retrieved (Java and Android)
WINDEV and WINDEV Mobile make it easy to add optional events to the default events proposed for the various elements of an application.. For more details, see Optional events. Depending on the optional event used, specific information can be retrieved via the _EVE.LPARAM and _EVE.WPARAM variables. Actions performed by the user The table below presents the information returned in the different optional events: | | Optional event | Information that can be returned in the event |
---|
Long Press/Displaying the context menu (WM_CONTEXTMENU) | - Vertical position (Y) of mouse cursor relative to field or window: function MouseYPos.
- Horizontal position (X) of mouse cursor relative to field or window: function MouseXPos.
Note: If these values are equal to -1, the context menu has been opened using the Windows open context menu key. | Mouse hover (WM_MOUSEMOVE)
Pressed/Left mouse button down (WM_LBUTTONDOWN)
Released/Left mouse button up (WM_LBUTTONUP)
Double Tap/ Double click with the left mouse button (WM_LBUTTONDBLCLK)
Right mouse button down (WM_RBUTTONDOWN)
Right mouse button up (WM_RBUTTONUP)
Double click with the right mouse button (WM_RBUTTONDBLCLK) | - Vertical position (Y) of mouse cursor relative to field or window: function MouseYPos.
- Horizontal position (X) of mouse cursor relative to field or window: function MouseXPos.
| Mouse wheel (WM_MOUSEWHEEL) | - Vertical position (Y) of mouse cursor relative to field or window: function MouseYPos.
- Horizontal position (X) of mouse cursor relative to field or window: function MouseXPos.
| Move (WM_MOVE) | - Vertical position: Property Y.
- Horizontal position: Property X.
| Resize (WM_SIZE) | - Field or window height: property Height.
- Field or window width: property Width.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|