Sign in Join
FPDoc Onlineexperiment

TCustomControlFilterEdit.ApplyFilter procedure

Member of TCustomControlFilterEditprotectedIn unit EditBtn

Applies the Filter to the data displayed on the control.

Declaration

pascal
procedure ApplyFilter(Immediately: Boolean=False)

Arguments

Immediately

Indicates whether the filter is applied immediately.

Description

ApplyFilter is a method used to apply the Filter for the control, and to sort and display the items which match the filter value. ApplyFilter does its job at once when Immediately is set to True. It calls methods like StoreSelection, ApplyFilterCore, and RestoreSelection to perform the actions needed for an associated control.

If Immediately is False, InvalidateFilter is called to connect the asynchronous event handler routine which applies the filter asynchronously when the Application is in an idle state.

See also

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