Sign in Join
FPDoc Onlineexperiment

TCustomControlFilterEdit.InvalidateFilter procedure

Member of TCustomControlFilterEditpublicIn unit EditBtn

Sets flags and properties to indicate that the filter must be reapplied for the control.

Declaration

pascal
procedure InvalidateFilter

Description

InvalidateFilter is a method used to indicate that the value in Filter needs to be applied for the control. It sets the internal flags used to indicate that updates are pending for the filter value, and sets the IdleConnected property to True to enable the asynchronous event handler routine for the control.

No actions are performed in the method if an internal flag is set which indicates that the Filter has already been applied to the associated control; this flag is set in descendent classes like TTreeFilterEdit found in the LazControls package.

InvalidateFilter is called from the ApplyFilter method when the Filter value is not immediately applied. InvalidateFilter is also called when a new value is applied to the Filter or SortData properties, or when FilterOptions is modified for the control.

See also

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