[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Specifies an event handler used to filter data items in TCustomControlFilterEdit.
Source position: editbtn.pas line 216
type TFilterItemExEvent = function( |
const ACaption: string; |
ItemData: Pointer; |
out Done: Boolean |
):Boolean of object; |
ACaption |
|
Caption or display name for the item examined in the event handler. |
ItemData |
|
Pointer to the data for the item examined in the event handler. |
Done |
|
Indicates if additional filtering is needed for the caption or item data. |
True if the item matches the filter implemented in the event handler.
TFilterItemExEvent is a Boolean object function type that specifies an event handler used to filter data items in TCustomControlFilterEdit. It is similar to TFilterItemEvent, but provides an additional argument with the caption for the data item.
The return value is True if an item matches a filter condition implemented in the event handler. Done can be updated to indicate if the item requires additional filtering on the title string in the data item; when it contains True, no additional filtering is needed.
TFilterItemEventEx is the type used for the OnFilterItemEx event handler in TCustomControlFilterEdit.
|
An event handler to give extra conditions for filtering, in addition to the default behavior. Returns True if the passes the filter. |
|
|
Event handler signalled to filter data in the control using its caption or item data. |
|
|
Specifies an event handler used to filter data items in TCustomControlFilterEdit. |
Version 3.2 | Generated 2024-02-25 | Home |