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
  • Adding an optional event
  • Actions performed by the user
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
By default, the event available in the code editor correspond to the most common events.
However, the windows, the pages and their controls can manage optional events (or optional processes).
This allows you to manage according to the platforms:
  • AndroidiPhone/iPad For the windows and their controls:
    • the left button down, up, with double click (on some controls),
    • the right button down, up, with double click (on some controls),
    • AndroidiPhone/iPad the long press,
    • ...
    In these optional events, you can find out the different actions performed by the user (key pressed, use of mouse wheel, etc.).
Adding an optional event
To add an optional event into a window, a page or a control of a window or page:
  1. Select the requested window, page or control.
  2. Display the code window of this window, page or control (F2 key).
  3. Click the link "Add other events to xxx" at the bottom of the window code, after the last event.
  4. All the optional events available for the element are displayed. For example, for a window:
  5. Check the optional event to add and validate.
    Note: Several optional events can be selected.
  6. The selected optional event is automatically added to the events managed by the window, page or control.
Caution: An optional event is always executed (unlike standard events), including when calling the Wait function or the Multitask function.
Actions performed by the user
Different information is returned to the WINDEV or WINDEV Mobile application according to the optional event used.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help