PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
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.
  • Versions 19 and later
    Universal Windows 10 AppWindows MobileUser code (UMC) associating a control with a group of controls.
    New in version 19
    Universal Windows 10 AppWindows MobileUser code (UMC) associating a control with a group of controls.
    Universal Windows 10 AppWindows MobileUser code (UMC) associating a control with a group 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).
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 20 and later
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls and table columns in Android and iPhone/iPad applications.
New in version 20
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls and table columns in Android and iPhone/iPad applications.
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls and table columns in Android and iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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)
Versions 19 and later
Universal Windows 10 AppWindows MobileUser code (UMC)
// The "GR_Options" group was created in the editor
EDT_Options.Group = "GR_Options"
GR_Options.Visible = False
New in version 19
Universal Windows 10 AppWindows MobileUser code (UMC)
// The "GR_Options" group was created in the editor
EDT_Options.Group = "GR_Options"
GR_Options.Visible = False
Universal Windows 10 AppWindows MobileUser code (UMC)
// The "GR_Options" group was created in the editor
EDT_Options.Group = "GR_Options"
GR_Options.Visible = False
Syntax

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

<Group name> = <Control used>.Group
<Group name>: Character string (with or without quotes)
  • 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.
Versions 19 and later
WINDEV MobileUniversal Windows 10 AppWindows MobileUser code (UMC)

Associating a control with a group of controls Hide the details

<Control used>.Group = <Group name>
<Control used>: Control name
Name of control to use.
<Group name>: Character string (with or without quotes)
  • Name of the group(s) to which the control must be associated. To designate several groups, the names of the different groups must be separated by a comma (for instance, "GR_Group1,GR_Group2").
  • Empty string ("") if the control belongs to no group.
New in version 19
WINDEV MobileUniversal Windows 10 AppWindows MobileUser code (UMC)

Associating a control with a group of controls Hide the details

<Control used>.Group = <Group name>
<Control used>: Control name
Name of control to use.
<Group name>: Character string (with or without quotes)
  • Name of the group(s) to which the control must be associated. To designate several groups, the names of the different groups must be separated by a comma (for instance, "GR_Group1,GR_Group2").
  • Empty string ("") if the control belongs to no group.
WINDEV MobileUniversal Windows 10 AppWindows MobileUser code (UMC)

Associating a control with a group of controls Hide the details

<Control used>.Group = <Group name>
<Control used>: Control name
Name of control to use.
<Group name>: Character string (with or without quotes)
  • Name of the group(s) to which the control must be associated. To designate several groups, the names of the different groups must be separated by a comma (for instance, "GR_Group1,GR_Group2").
  • Empty string ("") if the control belongs to no group.
Remarks
The Group property applies only to:
  • Universal Windows 10 AppWindows MobileiPhone/iPad the report controls.
  • WINDEV Mobile the window controls (including the table columns) and the menu options.
    This property cannot be used with the groups of controls, the table rows, the windows, ...
Java The Group property applies only to the following controls:
  • Button.
  • Static.
  • Edit control.
  • Image.
  • Check Box.
  • Radio Button.
  • List Box.
  • Combo Box.
  • TreeView.
  • Tab.
  • Table.
  • Table column.
  • Supercontrols.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment