ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The StoreFilterAAF property is used to determine and specify if the filters set by the user on a Table or TreeView table control are saved when an application is closed and opened again.
This filter is set via the filter buttons in the table columns (right click on the magnifier or funnel icon).
If the filter is saved, the next time the window containing the table is opened, a short message will appear to indicate the filter that is implemented, then the filter will be automatically re-applied.
Storing the filter
Remark: This property is equivalent to the "Remember user filters" option, in the "Details" tab of the Table control description window.
Example
// Modify CBOX_StoreFilter
IF CBOX_StoreFilter = True THEN
TABLE_PRICE.StoreFilterAAF = True
ELSE
TABLE_PRICE.StoreFilterAAF = False
END
Syntax

Finding out whether the filter options are stored Hide the details

<Result> = <Table control>.StoreFilterAAF
<Result>: Boolean
  • True if the filter options defined by the user on the Table control are stored.
  • False otherwise (default value).
<Table control>: Control name
Name of the Table or TreeView Table control to be used.

Modifiying the management of the filter options Hide the details

<Table control>.StoreFilterAAF = <Storage>
<Table control>: Control name
Name of the Table or TreeView Table control to be used.
<Storage>: Boolean
  • True to store the filter options defined by the user on the Table control between 2 launches of the application.
  • False otherwise.
Remarks
The filter information is saved with the other persistent information (for more details, see the help about SaveParameter).
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/17/2023

Send a report | Local help