Sign in Join
FPDoc Onlineexperiment

TCustomControlFilterEdit.SortData property

Member of TCustomControlFilterEditpublicIn unit EditBtn

Indicates whether items are sorted as they are filtered.

Declaration

pascal
property SortData: Boolean read fSortData write SetSortData;

Description

SortData is a Boolean property which determines whether items in the filtered control are sorted when the Filter value is applied in the ApplyFilter method. An explicit default value is not assigned for the property, but the default value for the Boolean type is False.

Changing the value for the property causes the InvalidateFilter method to be called. This method sets internal flags to signify a pending update, and enables the asynchronous event handler routine where the filter value is applied and sorting is performed.

Descendant classes provide an overridden SortAndFilter method which performs the actions needed to filter and sort the item data for an associated control type.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.