PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Processes managed by default
  • Optional processes
  • Overview
  • Specific optional processes: Pull to refresh
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 managed by default
Versions 16 and later
Android The internal windows are now available in Android.
New in version 16
Android The internal windows are now available in Android.
Android The internal windows are now available in Android.
Versions 17 and later
iPhone/iPad The internal windows are now available in iPhone/iPad.
New in version 17
iPhone/iPad The internal windows are now available in iPhone/iPad.
iPhone/iPad The internal windows are now available in iPhone/iPad.
Versions 20 and later
WINDEVLinux The internal windows are now available for the WINDEV applications in Linux.
New in version 20
WINDEVLinux The internal windows are now available for the WINDEV applications in Linux.
WINDEVLinux The internal windows are now available for the WINDEV applications in Linux.
Caution: Do not confuse "Internal Window control" and "Internal window": the "Internal window" control is a type of control while the "Internal window" is a type of window.
The "Internal Window" controls are associated with no process.
Versions 17 and later
WINDEV and WINDEV Mobile manage the following processes by default for the "internal window" controls:
ProcessRuntime condition
Versions 18 and later
AndroidiPhone/iPad Selection by swipe
New in version 18
AndroidiPhone/iPad Selection by swipe
AndroidiPhone/iPad Selection by swipe
Selection by swipe
Internal window with browse by swipe.
Run once the new internal window was displayed and loaded.
After loading the internal windowRun when the internal window is changed by ChangeSourceWindow. This process is run after the "Global declarations" process and after the "Initialization" process of new internal window.
This process is used to initialize the controls, to restore values in the internal window.
ChangeSourceWindow must not be used in this process.
Before unloading the internal windowRun when the internal window is changed by ChangeSourceWindow. This process is run before the closing process of initial internal window.
This process is used to save the values found in the internal window.
ChangeSourceWindow must not be used in this process.
New in version 17
WINDEV and WINDEV Mobile manage the following processes by default for the "internal window" controls:
ProcessRuntime condition
Versions 18 and later
AndroidiPhone/iPad Selection by swipe
New in version 18
AndroidiPhone/iPad Selection by swipe
AndroidiPhone/iPad Selection by swipe
Selection by swipe
Internal window with browse by swipe.
Run once the new internal window was displayed and loaded.
After loading the internal windowRun when the internal window is changed by ChangeSourceWindow. This process is run after the "Global declarations" process and after the "Initialization" process of new internal window.
This process is used to initialize the controls, to restore values in the internal window.
ChangeSourceWindow must not be used in this process.
Before unloading the internal windowRun when the internal window is changed by ChangeSourceWindow. This process is run before the closing process of initial internal window.
This process is used to save the values found in the internal window.
ChangeSourceWindow must not be used in this process.
WINDEV and WINDEV Mobile manage the following processes by default for the "internal window" controls:
ProcessRuntime condition
Versions 18 and later
AndroidiPhone/iPad Selection by swipe
New in version 18
AndroidiPhone/iPad Selection by swipe
AndroidiPhone/iPad Selection by swipe
Selection by swipe
Internal window with browse by swipe.
Run once the new internal window was displayed and loaded.
After loading the internal windowRun when the internal window is changed by ChangeSourceWindow. This process is run after the "Global declarations" process and after the "Initialization" process of new internal window.
This process is used to initialize the controls, to restore values in the internal window.
ChangeSourceWindow must not be used in this process.
Before unloading the internal windowRun when the internal window is changed by ChangeSourceWindow. This process is run before the closing process of initial internal window.
This process is used to save the values found in the internal window.
ChangeSourceWindow must not be used in this process.
WINDEV and WINDEV Mobile manage the following processes by default for the internal windows:
ProcessRuntime condition
Declaration of global variablesDeclaring the variables global to the window. This is the first code run when opening the window.
This code is run before the declaration code of the global variables of the host window (window in which the internal window is included).
You can, for example, call a procedure of the internal window from the declaration code of global variables of the host window.
Initialization (before version 180062)
End of initialization (after version 180062)
End of initialization
Run when opening the window.
The processes are run in the following order:
  • Initializing the window controls
  • Initializing the window
  • Gain of focus
ClosingRun when closing the window.
Note: Resuming the input in one of the window controls in this code prevents from closing the window.
Versions 20 and later
WINDEV Request for refreshing the display
New in version 20
WINDEV Request for refreshing the display
WINDEV Request for refreshing the display
Used to group the code for updating the window controls: content of controls, status (visible, grayed, ...), static to update, ...
This process may expect parameters. All you have to do is declare a procedure in the process. For example:
// Request for refreshing the display
PROCÉDURE AskForRefresh(RefreshType is boolean)
This process is started upon request by the following functions:
During the call to these functions, you have the ability to specify the value of parameters expected by the process.
EntryRun when the cursor enters in the Internal Window control.
ExitRun when changing control (when going from the Internal Window control to another control of the window).
Whenever modifiedRun whenever the control content is modified
Assigning the ..Value propertyRun whenever the ..Value property is assigned to the internal window (direct assignment or assignment performed by Value). This code is used to retrieve the parameters passed to the internal window for example.
Retrieving the ..Value propertyRun whenever retrieving the ..Value property of the internal window. This code allows the internal window to return a value to the window that hosts the Internal Window control.
Optional processes

Overview

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 Optional processes for more details.
Versions 20 and later
AndroidiPhone/iPad

Specific optional processes: Pull to refresh

When an internal window is used to manage the "Pull to Refresh" feature of Table and Looper controls, the optional "Pull to refresh" process must necessarily be added. This process includes three different codes:
  • "Pull to refresh: Start": This process is called when the "Pull to refresh" gesture is detected.
  • "Pull to refresh: Wait for release": The process is called when a refresh can be started.
  • "Pull to refresh: Refresh": This process is called when starting the refresh.
New in version 20
AndroidiPhone/iPad

Specific optional processes: Pull to refresh

When an internal window is used to manage the "Pull to Refresh" feature of Table and Looper controls, the optional "Pull to refresh" process must necessarily be added. This process includes three different codes:
  • "Pull to refresh: Start": This process is called when the "Pull to refresh" gesture is detected.
  • "Pull to refresh: Wait for release": The process is called when a refresh can be started.
  • "Pull to refresh: Refresh": This process is called when starting the refresh.
AndroidiPhone/iPad

Specific optional processes: Pull to refresh

When an internal window is used to manage the "Pull to Refresh" feature of Table and Looper controls, the optional "Pull to refresh" process must necessarily be added. This process includes three different codes:
  • "Pull to refresh: Start": This process is called when the "Pull to refresh" gesture is detected.
  • "Pull to refresh: Wait for release": The process is called when a refresh can be started.
  • "Pull to refresh: Refresh": This process is called when starting the refresh.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment