ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Report editor / Report controls
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The events associated with the controls of a report are as follows:
EventRuntime condition
InitializingRun 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 report viewer.
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 report viewer.
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 report viewer.
ClickRun when clicking the control. The click on the control is available in the report viewer 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 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 code view" tab.
  • 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

Last update: 05/26/2022

Send a report | Local help