TLVAdvancedCustomDrawEvent procedure type
Specifies an event handler signalled to perform advanced custom drawing for an owner-drawn list view control.
Declaration
TLVAdvancedCustomDrawEvent = procedure(Sender: TCustomListView;
const ARect: TRect;
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. |
ARect | Rectangle with the bounds for the list view control. |
Stage | Drawing stage for the list view control. Generally not cdPrePaint. |
DefaultDraw | True if default drawing should be performed in the list view control. |
Description
TLVAdvancedCustomDrawEvent is the type used to implement the
OnAdvancedCustomDraw event handler in
TCustomListView.
See
TLVDrawItemEvent and
TLVAdvancedCustomDrawItemEvent
for event types signalled to draw items on a list view control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
