TLVCustomDrawSubItemEvent procedure type
Specifies an event handler signalled to draw the SubItem value for a list item on a list view control.
Declaration
TLVCustomDrawSubItemEvent = procedure(Sender: TCustomListView;
Item: TListItem;
SubItem: Integer;
State: TCustomDrawState;
var DefaultDraw: Boolean)
of objectArguments
Sender | Object for the event notification. It must be cast to the TCustomListView type to access properties or methods specific to the list view control. |
Item | TListItem for the event notification. |
SubItem | Ordinal position for the sub-item draw in handler routine. |
State | Drawing state for the sub-item (like selected, focused, disabled). |
DefaultDraw | True if default drawing should be performed in the list view control. |
Description
TLVCustomDrawSubItemEvent is the type used to implement the
OnCustomDrawSubItem event handler in
TCustomListView.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
