ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Group of controls
  • Overview
  • Properties specific to groups of controls
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
Handling a group of controls through programming
Overview
WINDEV, WEBDEV et WINDEV Mobile allow you to handle a group of controls through programming. To do so, use the variable corresponding to the name of the group of controls in the code.
The variable of the group of controls corresponds to the name of the group of controls.
Example:
// Handle the GR_Review group of controls
// Makes the group of controls invisible
GR_Review.State = Invisible
The operation performed on the groups of controls is global to the window being executed: it includes of the groups of controls found in the window, including the groups of controls found in an internal window, in an internal page, in a control template or in a supercontrol. In this case, the name of the group of controls must not be prefixed by the name of the element that contains it (internal window, internal page, control template or supercontrol for example).
Example:
// Handle the GR_Review group of controls
// in the IW_User internal window
// Makes the group of controls invisible
GR_Review.State = Invisible
Remark: In the code, you can identify the controls that make up a group of controls using EnumControl.
Properties specific to groups of controls
The following properties are used to manage the characteristics of a group of controls through programming.
ContextMenuUsed to find out and modify the context menu associated with a group of controls.
CountUsed to find out the number of controls in a group of controls.
ModifiedUsed to find out whether a control belonging to a group of controls was modified by the user (with the keyboard or with the mouse).
StateUsed to find out and modify the display status of a group of controls.

For a complete list of WLanguage properties that can be used with a group of controls, see Properties associated with a group of controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/09/2023

Send a report | Local help