PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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 "GUI" 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 the iPhone/iPad applications.
New in version 20
iPhone/iPad This feature is now available for the iPhone/iPad applications.
iPhone/iPad This feature is now available for the iPhone/iPad applications.
Note: 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. In the bar of optional codes, click Long press or [...] and select "Long press/Displaying a popup menu" in the list of optional events.Click the link "Add other processes to xxx" at the bottom of the window code, after the last event.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/Displaying a popup menu".
  3. Validate. The event appears in the code editor.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment