[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Specifies an event handler signalled to perform default drawing for an item on a list view control.
Source position: comctrls.pp line 1325
type TLVDrawItemEvent = procedure( |
Sender: TCustomListView; |
AItem: TListItem; |
ARect: TRect; |
AState: TOwnerDrawState |
) of object; |
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. |
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.
|
Event handler signalled to render an owner drawn item. |
|
|
Draws the specified list item with a given state. |
|
|
Specifies an event handler signalled to custom draw an item on a list view control. |
|
|
Specifies an event handler signalled to perform advanced custom drawing for a list view item with stage and state information. |
Version 3.2 | Generated 2024-02-25 | Home |