ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Group of controls
  • Overview
  • Creating a group of controls
  • Viewing the controls of a group
  • Assigning a control to a group
  • Modifying the name of a group
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
A group of controls is a set of controls grouped together in order for their characteristics (their visible status for example) to be modified (or checked) in a single operation programmatically. A menu option can also be associated with a group of controls.
In the window, page or report editor, all fields in all groups are displayed, so some fields may overlap.
The same control can be associated with several groups.
Example To make several fields invisible, simply make the group invisible. In a health-care form for example, some controls may relate to men while others may relate to women. Grouping the related controls together allows you to make them visible or invisible according to the gender of the user.
Note In the case of MDI windows, it is possible to associate an MDI window with a group. For more details, see Managing menu options in MDI windows.
Creating a group of controls
To create a group of controls:
  1. Edit the groups of controls:
    • WEBDEV - Server code On the "Page" tab, in the "Edit" group, expand "Groups" and select "Edit".
    • In the report editor, go to the "Modification" tab, "Groups" group, expand "Groups" and select "Edit".
  2. Click the "New" button (or "+" in a report). A new group is created.
  3. Modify the name of the group if necessary.
  4. Validate.
Viewing the controls of a group
To view the list of controls found in a group:
  1. Edit the groups of controls:
    • WEBDEV - Server code On the "Page" tab, in the "Edit" group, expand "Groups" and select "Edit".
    • In the report editor, go to the "Modification" tab, "Groups" group, expand "Groups" and select "Edit".
  2. Select the requested group of controls.
  3. The list of controls found in the selected group is displayed in the list on the right.
Note: If fields belong to a group, you can view the name of the group to which each field belongs in the window or page editor: in the "Display" pane, in the "Show (all controls)" group, check "Group name".
Assigning a control to a group
To assign a control to a group:
  • specify the name of the group during the control description ("Details" tab or "UI" tab).
  • select the controls and select "Group .. Associate the selection" in the context menu. Choose the name of the group or create a new group.
Modifying the name of a group
To modify the name of a group:
  1. Edit the groups of controls:
    • WEBDEV - Server code On the "Page" tab, in the "Edit" group, expand "Groups" and select "Edit".
    • In the report editor, go to the "Modification" tab, "Groups" group, expand "Groups" and select "Edit".
  2. Click the name of the group, enter the new name for the group and validate.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/09/2025

Send a report | Local help