TListView.OnCustomDrawItem property
Event handler signalled to perform custom drawing for list items on the control.
Declaration
property OnCustomDrawItem:;Description
OnCustomDrawItem is a
TLVCustomDrawItemEvent property
with the event handler used to perform custom drawing for a list item on a
list view control. It is signalled (when assigned) from the CustomDrawItem
method when the drawing stage is cdPrePaint, and occurs when the
IntfCustomDraw method handles callbacks from the widgetset class instance.
Arguments to the event handler include the list view control, the list item drawn in the handler, and a variable parameter which indicates whether default drawing is handled in the list view control.
Use OnAdvancedCustomDrawItem to perform custom drawing for list items when the drawing stage is a value other than cdPrePaint.
Custom drawing event handlers are used when the IntfCustomDraw method handles callbacks from the widgetset class instance.
Use OnCustomDraw and OnAdvancedCustomDraw to perform custom drawing for the entire list view control.
This description is the one of ComCtrls.TCustomListView.OnCustomDrawItem.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
