ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
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
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 through programming. A menu option can also be associated with a group of controls.
In the window editor, page editor or report editor, all the controls of all the groups are displayed: therefore, some controls may be overlaid.
The same control can be associated with several groups.
Example: To make several controls invisible, all you have to do is 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.
Remark: For the MDI windows, a MDI window can be associated with a group. For more details, see Managing the menu options in the MDI windows.
Creating a group of controls
To create a group of controls:
  1. Edit the groups of controls:
    • WINDEV On the "Window" 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:
    • WINDEV On the "Window" 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.
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:
    • WINDEV On the "Window" 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: 05/26/2022

Send a report | Local help