PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Processes managed by default
  • Associating a local procedure with a supercontrol
  • 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 supercontrols
Processes managed by default
WINDEVWINDEV Mobile WINDEV and WINDEV Mobile manage the following processes by default (in the order in which they appear in the code editor):
ProcessRuntime condition
Declaration of global variablesDeclaration code of global variables of the supercontrol. All the types of variables are supported. They can be used in any process associated with the supercontrol or with one of the controls included in the supercontrol.
InitializationRun when opening the window.
EntryRun when the cursor enters a control that is included in the supercontrol
ExitRun when the cursor exits from one of the controls that is included in the supercontrol
Whenever modifiedThis code is not run by default. To run it, use ExecuteProcess associated with the trtChange constant.
WEBDEV - Server code WEBDEV manages the following processes by default (in the order in which they appear in the code editor):
ProcessRuntime condition
Declaration of global variables (Server code)Declaration code of global variables of the supercontrol. All the types of variables are supported. They can be used in any process associated with the supercontrol or with one of the controls included in the supercontrol.
Initialization (Server code)Run when opening the page.
Loading (browser code)Run when loading the page.
Note: In a static page, only the browser processes are available.
Associating a local procedure with a supercontrol
To create a procedure local to the supercontrol:
  1. Display the supercontrol description.
  2. Click the "Add" button found below the "Local procedures" control. A new procedure is created.
  3. Click the "Code" button to edit the code of procedure.
Tip: To create local procedures linked to the supercontrol, you can perform the following operations:
  1. Select your window (or page) and the supercontrol in the "Project explorer" pane.
  2. Click the black arrow found beside the name of the supercontrol in the project explorer. The local procedures appear.
  3. Select "Local procedures". The local procedures displayed are the ones of the supercontrol. You have the ability to add, rename or delete local procedures in the supercontrol.
Optional processes
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, etc.
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment