PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
This content comes from an automatic translation.
  • Overview
  • Implementation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The optional event "Long press/Displaying a popup 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 popup 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 by 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.
Versions 20 and later
iPhone/iPad This feature is now available for iPhone/iPad applications.
New in version 20
iPhone/iPad This feature is now available for iPhone/iPad applications.
iPhone/iPad This feature is now available for iPhone/iPad applications.
Remark: For Table and Looper controls, the "Row selection" event is run BEFORE "Long press/Display popup menu".
Implementation
To use the optional event "Long press/Displaying a popup menu":
  1. Display the control code (press F2 on the control for example).
  2. Click on the "Add more events to xxx" link at the end of the code window, after the last event.
    DIn the list of optional events, select the "Long press / Display context menu" event.
  3. Validate. The event appears in the code editor.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment