PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Implementation
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
Overview
The optional event "Long press/Open context menu" is run during a long press on the controls of a window. This event can be used:
  • to perform a specific process before displaying the popup menu.
    Reminder: the context menu associated with the control can be defined in the "UI" tab of the description window of control.
  • iPhone/iPad to display a popup menu through programming via OpenPopupMenu.
Android This event is available for all the controls.
iPhone/iPad This event is available for the following controls:
  • Button control,
  • Looper control,
  • Table control,
  • Image control.
Remark: For Table and Looper controls, the "Row selection" event is run BEFORE "Long press/Open context menu".
Implementation
To use the optional event "Long press/Open context menu":
  1. Display the control code (press F2 on the control for example).
  2. Click the "Add other events to xxx" link at the bottom of the window code, after the last event.
    In the list of optional events, select "Long press/Open context menu".
  3. Validate. The event appears in the code editor.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment