PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Events managed by default
  • Additional events
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
Events associated with a Web Component control
Events managed by default
WEBDEV manages the following events by default (in order of appearance in the code editor):
EventRuntime condition
Global declarations (Server)Declaring the global variables linked to the control.
Initialization (Server)Run when opening the page.
Load (onload) (Browser)Run when loading the component. By default, this event contains the following line of code:
ExecuteProcess(<Control name>, trtValueAssignment)
This line of code is used to run the event "Assigning the ..Value property" of the control.
This allows you to give a value to the control for example.
Submit (onsubmit) (Browser)Run:
  • when validating the page (submit).
  • when running a server action of control.
By default, this event contains the following line of code:
ExecuteProcess(<Control name>, trtValueRetrieval)
This line of code is used to run the event "Retrieving the ..Value property" of the control.
This allows you to store the control value for example.
Action (Browser)Code that can be directly called from the Web Component. Used to run an action via the HTML or Javascript code of control.
Action (Server)Code that can be directly called from the Web Component. Used to run an action via the HTML or Javascript code of control.
Retrieving the ..Value property (Browser)Code used to define the content of ..Value property for the Web Component control.
Assigning the ..Value property (Browser)Code used to assign a value to the Web Component control.
Additional events
Several additional events are displayed in the code editor:
  • CSS event: "Declaring the CSS styles": Code corresponding to the CSS code of Web component. This code was typed when creating the control.
  • JS event: "Initializing the Web component": JS code of Web component. This code was typed when creating the control.
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment