PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Processes managed by default
  • Processes managed by WINDEV and WINDEV Mobile
  • Processes managed by WEBDEV
  • Optional processes
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
Processes associated with the HTML controls
Overview
WINDEV, WEBDEV and WINDEV Mobile propose several processes associated with the HTML control.
Versions 16 and later
Android The HTML control is now available for the Android applications.
Universal Windows 10 App The HTML control is now available for the Windows Phone applications.
New in version 16
Android The HTML control is now available for the Android applications.
Universal Windows 10 App The HTML control is now available for the Windows Phone applications.
Android The HTML control is now available for the Android applications.
Universal Windows 10 App The HTML control is now available for the Windows Phone applications.
Versions 17 and later
iPhone/iPad The HTML control is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad The HTML control is now available for the iPhone/iPad applications.
iPhone/iPad The HTML control is now available for the iPhone/iPad applications.
Processes managed by default
WINDEVAndroidiPhone/iPadUniversal Windows 10 App

Processes managed by WINDEV and WINDEV Mobile

The following processes are proposed by default (in the order in which they appear in the code editor):
ProcessRuntime condition
InitializationRun when opening the window. *
Versions 23 and later
Click on link
New in version 23
Click on link
Click on link
Run when clicking a link found in the HTML control. Only the external links (toward another page) trigger this process. The internal links (toward an anchor in the same page for example) do not trigger this process.
This process accepts parameters. This process has the following format:
PROCEDURE ClickLink(sLink)
where <sLink> corresponds to an optional character string containing the URL of the link clicked in the HTML control.
If this process returns False, the action associated with the link will not be performed.
Android Notes:
  • The code found in "Click on link" must not perform a locking process (like displaying a dialog box for example).
  • This process is run from Android version 7.0 (Nougat).
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.
  • This process will not be called if the link that was clicked corresponds to an anchoring link in the page.
  • Only the clicks performed by the user trigger the call to the process. A click "simulated" from Javascript code for example will not trigger the call to the process.
Versions 23 and later
End of load of HTML document
New in version 23
End of load of HTML document
End of load of HTML document
Run at the end of load of HTML document in the HTML control. If the user navigates via links in the HTML control, this process is run at the end of load of each HTML document displayed in the control.

(*) By default, the "Initializing" process of each control is run according to the creation order of controls in the window. To modify this runtime order:
  1. Select "Windows .. Edit the initialization order".On the "Window" pane, in the "Order" group, click "Initialization".
  2. In the window that is displayed, use the arrows on the right to modify the initialization order of controls.
WEBDEV - Server codePHP

Processes managed by WEBDEV

WEBDEV manages the following processes by default (in the order in which they appear in the editor):
ProcessRuntime condition
Initialization (Server code)Run when opening the page

Note: In a static page, no processes are available.
Optional processes
WINDEVAndroidiPhone/iPadUniversal Windows 10 App Several optional processes can be managed.
To manage an optional process, all you have to do is select it in the icon bar of code window.
To add an optional process:
  1. Select the requested control.
  2. Display the code window of this control ([F2] key).
  3. Click the link "Add other processes to xxx" found at the end of window code, after the last process.
  4. All the optional processes available for the control are displayed.
  5. Check the optional process to add and validate.
    Note: You have the ability to select several optional processes.
  6. The selected optional process is automatically added into the processes managed by the control
To disable an optional process, perform the same operations to display the list of optional processes. Then, all you have to do is uncheck the optional processes to delete.
Note: If the disabled code contains WLanguage code, this code is automatically deleted.
You have the ability to manage:
  • the control rollover with the mouse,
  • the left mouse button down, up, with a double click,
  • the right mouse button down, up, with double click,
  • the mouse wheel, ...
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment