TLVAdvancedCustomDrawItemEvent procedure type
Specifies an event handler signalled to perform advanced custom drawing for a list view item with stage and state information.
Declaration
TLVAdvancedCustomDrawItemEvent = procedure(Sender: TCustomListView;
Item: TListItem;
State: TCustomDrawState;
Stage: TCustomDrawStage;
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 | List item for the event notification. |
State | Custom drawing state for the list item (like Selected, Focused, Disabled). |
Stage | Drawing stage for the list item. The advanced handler is interested in stages other than cdPrePaint. |
DefaultDraw | True if default drawing should be performed in the list view control. |
Description
TLVAdvancedCustomDrawItemEvent is the type used to implement the
OnAdvancedCustomDrawItem event handler in
TCustomListView. See
TLVCustomDrawItemEvent for the
event type signalled to draw a list item in its pre-paint stage.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
