PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Checking all/Unchecking all
  • Operating mode
  • Implementation
  • Storing the value
  • 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. See Configuring the AAF menus for more details.
By programming:
  • DisableAAF associated with the aafCheckBoxCheckAll constant allows you to delete the options used to check all or uncheck all from the popup menu of the specified Check Box control.AAFDisable (or DisableAAF) associated with the aafCheckBoxCheckAll constant allows you to delete the options used to check all or uncheck all from the popup menu of the specified Check Box control.
  • ExecuteAAF associated with the aafCheckBoxCheckAll constant is used to check all the options found in the specified Check Box control.AAFExecute (or ExecuteAAF) 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 caption of the popup menu used to check all the options found in a Check Box control.
    New in version 21
    AAFChangeCaption allows you to modify the caption of the popup menu used to check all the options found in a Check Box control.
    AAFChangeCaption allows you to modify the caption of the popup menu used to check all the options found in a Check Box control.
Storing the value

Operating mode

To store the value selected in a List Box or Combo Box control, select "Store the value" from the popup menu of the control.

Implementation

The "Store the value" option is automatically available in the Combo Box and List Box controls. This option is used to manage the persistence of data.
Like all the popup menus proposed by the AAFs, you have the ability to configure the default options proposed by the control. See Configuring the AAF menus for more details.
By programming: DisableAAF associated with the aafSaveValue constant is used to delete the "Store the value" option from the popup menu of the specified Check Box control.AAFDisable (or DisableAAF) associated with the aafSaveValue constant is used to delete the "Store the value" option from the popup menu of the specified Check Box control.
Note: You also have the ability to store the value via "Store the value" found in the description window of control ("Details" tab). This option is used to store 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 required version
  • Version 20
Comments
Click [Add] to post a comment