TLVDrawItemEvent is the type of the list view OnCustomDrawItem and OnDrawItem event handlers.
TLVDrawItemEvent = procedure (Sender: TCustomListView; Item: TListItem; Rect: TRect; State: TOwnerDrawState) of object;
(Sender: TCustomListView; Item: TListItem; Rect: TRect; State: TOwnerDrawState) ( TLVDrawItemEvent)();
ComCtrls
Sender is the list view control in which an item is about to be drawn.
Item is the item that is about to be drawn.
Rect defines the coordinates of the item on the list view's canvas.
State indicates various conditions that can influence how the item is drawn, such as whether it is selected, grayed, or focused.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|