PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Processes managed
  • Processes managed by WINDEV and WINDEV Mobile
  • Processes managed by WEBDEV
  • Optional processes
  • Sort code of a column
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
WINDEVWINDEV Mobile

Processes managed by WINDEV and WINDEV Mobile

Versions 20 and later
Android The Table control (and its columns) is now available for the Android applications.
iPhone/iPad The Table control (and its columns) is now available for the iPhone/iPad applications.
New in version 20
Android The Table control (and its columns) is now available for the Android applications.
iPhone/iPad The Table control (and its columns) is now available for the iPhone/iPad applications.
Android The Table control (and its columns) is now available for the Android applications.
iPhone/iPad The Table control (and its columns) is now available for the iPhone/iPad applications.
WINDEV and WINDEV Mobile manage the following processes by default (in the order in which they appear in the code editor):
ProcessRuntime condition
InitializationRun when opening the window. *

Special case: Browsing table automatically filled:
When this code is run, the table is not filled yet. To force the table to be filled in this code, use:You also have the ability to filter the records with HFilter.
Entry (in the column)Run when the column takes focus.
Exit (from the column)Run when changing control (TAB key, change of control with the mouse, ...).
Whenever modifiedRun when the user modifies the column content.

(*) 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 code

Processes managed by WEBDEV

WEBDEV manages the following processes for the control templates::
  • Browser table:
    ProcessRuntime condition
    Entry in control (browser code)Run when the column takes focus.
    Exit without modification (browser code)Run when changing control with column modification.
    Exit from control (browser code)Run when changing control.
  • AJAX table:
    ProcessRuntime condition
    Initialization (server code)Run when opening the page.
    Entry in the column (browser code)Run when the column takes focus.
    Exit (from the column) with modification (browser code)Run when changing control after modification (TAB key, change of control with the mouse, ...).
    Exit (from the column) (browser code)Run when changing control without modification (TAB key, change of control with the mouse, ...).
    In row exit if modification (server code)Run when the user modifies the column content. This process is run in row exit only.
    Whenever performing a search with the magnifier (server code)Run when the user is using the magnifier to perform a search.
  • Standard table:
    ProcessRuntime condition
    Initialization (server code)Run when opening the page.
    Entry in control (browser code)Run when the column takes focus.
    Exit without modification (browser code)Run when changing control with column modification.
    Exit from control (browser code)Run when changing control.
Optional processes
WINDEVWindows Mobile 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 use of magnifier to perform a search ("Whenever performing a search with the magnifier" process). This process is run during the search (for each character typed) from the "magnifier" search control.
  • the sort of columns ("Whenever a column is sorted" process). This process is run when the user sorts the column with and .
  • Versions 19 and later
    the resizing of columns ("Resizing the column" process). This process is run when the column is resized by the user.
    New in version 19
    the resizing of columns ("Resizing the column" process). This process is run when the column is resized by the user.
    the resizing of columns ("Resizing the column" process). This process is run when the column is resized by the user.
  • Versions 23 and later
    the input of filter by the user ("Whenever modifying the filter (user input in header)" process). This process is run when the user types a new filter condition, after the filter execution. For example, if the user defines a "Contains" filter and if he types "Fran", the table is filtered according to the condition, then the "Whenever modifying the filter" process is run.
    New in version 23
    the input of filter by the user ("Whenever modifying the filter (user input in header)" process). This process is run when the user types a new filter condition, after the filter execution. For example, if the user defines a "Contains" filter and if he types "Fran", the table is filtered according to the condition, then the "Whenever modifying the filter" process is run.
    the input of filter by the user ("Whenever modifying the filter (user input in header)" process). This process is run when the user types a new filter condition, after the filter execution. For example, if the user defines a "Contains" filter and if he types "Fran", the table is filtered according to the condition, then the "Whenever modifying the filter" process is run.
WINDEVWindows Mobile

Sort code of a column

When the user clicks the title of a table column, the sort code of column is automatically called.
To find out the sort direction, declare a parameter at the beginning of the sort code.
// -- Whenever COL_Column1 is sorted
PROCEDURE Sort(bAscending)
Trace(bAscending? "Ascending column sort" ELSE "Descending sort")
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment