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
  • Implementation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 context menu.
    Reminder: the context menu associated with the field can be defined in the "UI" tab of the control description window..
  • 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.
Note: For the Table and RepeatString fields, the "Line selection" event is executed BEFORE the "Long press / Display context menu" event..
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 link "Add other events to xxx" 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

Last update: 09/21/2024

Send a report | Local help