Help / Developing an application or site / Controls, windows and pages / Controls: Options and actions
  • Overview
  • Implementation
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
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 context 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 context menu through programming via OpenContextMenu.
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".
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
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help