ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Automatic Application Features (AAF)
  • Overview
  • Checking all/Unchecking all
  • Operating mode
  • Implementation
  • Saving values
  • Operating mode
  • Implementation
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
The Check Box control can benefit from several AAFs (Automatic Application Features):
Checking all/Unchecking all

Operating mode

The "Check all" option is used to check all the options found in the check box.
The "Uncheck all" option is used to uncheck all the options found in the check box.

Implementation

The "Check all" and "Uncheck all" options are automatically implemented in the Check Box controls from version 20. These options are available for all types of Check Box controls (standard, Vista, ...).
Like all the popup menus proposed by the AAFs, you have the ability to configure the default options proposed by the control. For more details, see Configuring the AAF menus.
Through programming:
  • AAFDisable with the aafCheckBoxCheckAll constant allows you to delete the options used to check or uncheck all from the context menu of the specified Check Box control.
  • AAFExecute associated with the aafCheckBoxCheckAll constant is used to check all the options found in the specified Check Box control.
  • AAFChangeCaption allows you to modify the text of the context menu used to check all the options in a Check Box control.
Saving values

Operating mode

To save the value selected in a List Box or Combo Box control, select "Remember value" in the context menu of the control.

Implementation

The "Remember value" option is automatically available in Combo Box and List Box controls. This option is used to manage the data persistence.
Like all the popup menus proposed by the AAFs, you have the ability to configure the default options proposed by the control. For more details, see Configuring the AAF menus.
Through programming: AAFDisable with the aafSaveValue constant is used to delete the "Remember value" option from the context menu of the specified Check Box control.
Remark: You can also save the value via the "Remember value" option in the control description window ("Details" tab). This option is used to save the value even if the menu option was not enabled by the user. The menu option has priority if it was enabled by the user.
Minimum version required
  • Version 20
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help