ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Options and actions
  • Overview
  • Actions performed by the user
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Optional events: Information retrieved (Java and Android)
Overview
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 eventInformation 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.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help