ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Various properties
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
The Group property is used to:
  • find out whether the control belongs to a group of controls. If the control belongs to one or more groups, the Group property can be used to identify these groups of controls.
Reminder: The association between a control and a group of controls is performed in the editor during the control description ("UI" tab, "Group" button).
Example
// Find out the name of the group of controls to which MyControl belongs
NameGroupControls = MyControl.Group
IF Position(BTN_Close.Group, "Btn_Default")>0 THEN
BTN_Close.State = Active
END
// CloseOption is the name of a menu option
Trace(CloseOption.Group)
Syntax

Finding out the name of the group associated with a control Hide the details

<Group name> = <Control used>.Group
<Group name>: Character string
  • Name of the groups to which the control belongs. If the control belongs to more than one group, the names of the different groups are separated by a comma (e.g., "GR_GROUP1,GR_GROUP2").
  • Empty string ("") if the control belongs to no group.
<Control used>: Control name
Name of the control for which the groups must be found.
Remarks
The Group property applies only to:
  • WEBDEV - Server code the report controls.
  • WEBDEV - Server code the page controls (including the table columns).
    This property cannot be used with the menu options, the groups of controls, the table rows, the pages, etc.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2023

Send a report | Local help