PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • Opening and/or modifying the events of a control
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
Overview
The events associated with the controls of a report are as follows:
EventRuntime condition
InitializationRun when initializing the report. When starting a report (including during a test), the events are run in the following order:
  • "Opening" event of the report.
  • "Initializing" event of report blocks.
  • "Initializing" event of the controls.
Before printingRun before printing a control.
Entry inRun when the input cursor enters in the control. This event is only available for edit controls used in the print preview.
Exit fromRun when moving from one control to another (TAB key, selecting another control with the mouse, etc.). This event is only available for edit controls used in the print preview.
Modification ofRun whenever the content of the control is modified (typing or erasing a character for example). This event is only available for edit controls used in the print preview.
ClickRun when clicking the control. The click on the control is available in the print preview only. A star allows the user to easily identify the clickable controls.

You can enter WLanguage code in these events. For more details on the sequence of these events, see Sequence of events associated with the reports.
Opening and/or modifying the events of a control
To open and/or modify the events of a control, use one of the following methods:
  • select the control and press F2.
  • select the control and display the "Context-Sensitive View of Code" pane.
  • select "Code" from the popup menu of the control (right mouse click on the control).
  • click the "Code" icon of control description.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment