PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
By 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.
  • Versions 21 and later
    AAFChangeCaption allows you to modify the text of the context menu used to check all the options in a Check Box control.
    New in version 21
    AAFChangeCaption allows you to modify the text of the context menu used to check all the options in a 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.
By 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