PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • Adding an optional event
  • Actions performed by the user
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
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:
  • WEBDEV - Server code For the pages and their controls:
    • the click, the double click
    • the key down, the key pressed, the key up
    • the mouse moved, outside, above,
    • the button up,
    • the loss of focus, modification, gain of focus,
    • the selected text,
    • the help,
    • the upload, the download,
    • the reinitialized form, the form sent,
    • Versions 16 and later
      the switch to on-line or off-line mode,
      New in version 16
      the switch to on-line or off-line mode,
      the switch to on-line or off-line mode,
    • Versions 16 and later
      the modification of status of HTML cache.
      New in version 16
      the modification of status of HTML cache.
      the modification of status of HTML cache.
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. Select the optional event to manage in the icon bar at the bottom of the code window. All the available events are displayed via "...".
WEBDEV - Server code
The selected optional event is automatically added to the events managed by the window, page or control.
Caution: The optional event is always run (unlike standard events), even when Wait or Multitask are called.
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 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.
  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: You can select several optional events.
  6. The selected optional event is automatically added to the events managed by the window, page or control.
Caution: An optional event is always run (unlike standard events), even when Wait or Multitask are called.
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
Tricky to find those optional process icons
At least it took me a long time. I was looking in the main toolbar, but the icons are at the bottom of the code window. And they only appear when you're in suitable code location.
DevRoadmaps
18 Jul. 2012