TLVDrawItemEvent procedure type
Specifies an event handler signalled to perform default drawing for an item on a list view control.
Declaration
TLVDrawItemEvent = procedure(Sender: TCustomListView; AItem: TListItem;
ARect: TRect; AState: TOwnerDrawState)
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. |
AItem | TListItem for the event notification. |
ARect | Rectangle with the bounds where the list item is drawn. |
AState | Drawing state (like selected, focused, disabled) for the owner-drawn list item. |
Description
TLVDrawItemEvent is the type used to implement the
OnDrawItem event handler in
TCustomListView. See
TLVCustomDrawItemEvent and
TLVAdvancedCustomDrawItemEvent for event types signalled for
custom-drawn items on a list view control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
