ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Group property is used to:
  • whether or not the field belongs to a field group. If the control belongs to one or more groups, the Group property can be used to identify these groups of controls.
Reminder: The association of a field to a group of fields is done in the editor when describing the field ("UI" tab, "Group" button).
Example
// Connaître le nom du groupe de champs du champ MonChamp
NomGroupeChamps = MyControl.Groupe
IF Position(BTN_Fermer.Groupe, "Btn_Défaut")>0 THEN
	BTN_Fermer.Etat = Active
END
// OptionFermer est le nom d'une option de menu
Trace(OptionFermer.Groupe)
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.
WINDEV Mobile

Associating a control with a group of controls Hide the details

<Control used>.Group = <Group name>
<Control used>: Control name
Name of the control to be used.
<Group name>: Character string
  • 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:
  • iPhone/iPadIOS Widget the report controls.
  • WINDEV Mobile the window controls (including the table columns) and the menu options.
    This property cannot be used with groups of controls, table rows, windows, ...
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help