ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Options and actions
  • Overview
  • Actions performed by the user
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Optional events: Information retrieved (Java and Android)
Overview
WINDEV and WINDEV Mobile allow you to add optional events to the ones proposed by default for the different application elements. 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 in relation to the relevant control or window: MouseYPos.
  • Horizontal position (X) of mouse cursor in relation to the relevant control or window: MouseXPos.
Remark: If these values are equal to -1, the popup menu was opened by the Windows key for opening the popup menu.
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 in relation to the relevant control or window: MouseYPos.
  • Horizontal position (X) of mouse cursor in relation to the relevant control or window: MouseXPos.
Mouse wheel (WM_MOUSEWHEEL)
  • Vertical position (Y) of mouse cursor in relation to the relevant control or window: MouseYPos.
  • Horizontal position (X) of mouse cursor in relation to the relevant control or window: MouseXPos.
Move (WM_MOVE)
  • Vertical position: Y property.
  • Horizontal position: X property.
Resize (WM_SIZE)
  • Height of control or window: Height property.
  • Width of control or window: Width property.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help