TCustomControlFilterEdit.DoDefaultFilterItem function
Provides a default routine used to examine an item in the filtered edit control.
Declaration
function DoDefaultFilterItem(const ACaption: string;
const ItemData: Pointer): Boolean; virtualArguments
ACaption | Caption for the item passed to DoDefaultFilterItem. |
ItemData | Pointer to the data for the item examined in the method. |
Function result
True when the item meets the filter condition.Description
Signals the OnFilterItemEx (preferred) or OnFilterItem (deprecated) event
handlers (when assigned) to determine if the item meets the Filter condition.
Values in ACaption and ItemData are passed as arguments
to the event handlers.
The return value is True when the item matches the Filter value. The DoDefaultFilterItem method is called when the return value from the event handlers is False, or the event handlers are not assigned in the class instance.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
