Sign in Join
FPDoc Onlineexperiment

TLVAdvancedCustomDrawSubItemEvent procedure type

In unit ComCtrls

Specifies an event handler signalled to perform advancing drawing for a list view sub-item with stage and state information.

Declaration

pascal
TLVAdvancedCustomDrawSubItemEvent = procedure(Sender: TCustomListView; 
 Item: TListItem; 
 SubItem: Integer; 
 State: TCustomDrawState; 
 Stage: TCustomDrawStage; 
 var DefaultDraw: Boolean)
 of object

Arguments

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.

SubItem

Ordinal position for the value in SubItem drawn in the handler.

State

Drawing state for the custom-drawn sub-item.

Stage

Drawing stage for the sub-item. The advanced handler is used for stages other than cdPrePaint.

DefaultDrawTrue if default drawing should be performed in the list view control.

Description

TLVAdvancedCustomDrawSubItemEvent is the type used to implement the OnAdvancedCustomDrawSubItem event handler in TCustomListView.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.