PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Programming
  • "Check/Uncheck" options
  • Filtering options
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 Table and TreeView Table controls can propose Check Box columns allowing the user to select the requested options.
Depending on the number of control rows, it may be tedious for the user to check or uncheck all the rows.
The popup menu of Check Box columns proposes several specific options that simplify the selections:
Popup menu of Check Box column
  • Check all: Used to check all the check boxes found in the table.
  • Uncheck all: Used to uncheck all the check boxes found in the table.
  • Filter .. Checked only: Used to only display the checked rows in the table.
  • Filter .. Unchecked only: Used to only display the unchecked rows in the table.
Note: These options are available for the Check Box columns:
  • found in the memory tables/treeview tables (filled by programming).
  • found in the tables/treeview tables whose content is loaded in memory.
Programming

"Check/Uncheck" options

  • To check all the rows found in the Table control or to uncheck all the rows found in the Table or TreeView Table control, use AAFExecute associated with the aafCheckAll and aafUncheckAll constants. In this case, the function is applied to the Check Box column.
  • To avoid proposing the options used to check and uncheck all the rows found in the Table or TreeView Table control, use AAFDisable associated with the aafCheckAll and aafUncheckAll constants. In this case, the function is applied to the Table or Treeview Table control.
  • To modify the caption of the options used to check and uncheck all the rows found in the Table or TreeView Table control, use AAFChangeCaption associated with the aafCheckAll and aafUncheckAll constants. In this case, the function is applied to the Table or Treeview Table control.

Filtering options

  • To disable the filtering options, use AAFDisable associated with the aafFilter constant on the Table or TreeView Table control. Caution: In this case, all the filtering options are disabled on the table and on its columns.
  • To run the filter on the Check Box column found in the Table or TreeView Table control, use TableEnableFilter associated with the filterEqual constant. Example:
    // Filter on the unchecked columns
    TableEnableFilter(COL_NoName1, filterEqual, 0)
    // Filter on the checked columns
    TableEnableFilter(COL_NoName1, filterEqual, 1)
Minimum required version
  • Version 22
Comments
Click [Add] to post a comment