[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TLVCustomDrawEvent

Specifies an event handler signalled to custom draw a list view control.

Declaration

Source position: comctrls.pp line 1318

type TLVCustomDrawEvent = procedure(

  Sender: TCustomListView;

  const ARect: TRect;

  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.

ARect

  

Rectangle with the bounds for the list view control.

DefaultDraw

  

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

Description

TLVCustomDrawEvent is the type used to implement the OnCustomDraw event handler in TCustomListView. See TLVAdvancedCustomDrawEvent for the event handler signalled to draw a list view control with state.

See also

TLVAdvancedCustomDrawEvent

  

Specifies an event handler signalled to perform advanced custom drawing for an owner-drawn list view control.

TCustomListView.OnCustomDraw

  

Event handler signalled to perform custom drawing for the list view control.

TCustomListView.OnAdvancedCustomDraw

  

Event handler signalled to custom draw the grid control when the draw state is not cdPrePaint.


Version 3.2 Generated 2024-02-25 Home