[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Draws the specified list item with a given state.
Source position: comctrls.pp line 1547
protected procedure TCustomListView.DrawItem( |
AItem: TListItem; |
ARect: TRect; |
AState: TOwnerDrawState |
); |
AItem |
|
List view item drawn in the method. |
ARect |
|
TRect instance with the bounds for the list item. |
AState |
|
Drawing state applied to the list item in the OnDrawItem event handler. Ignored when default drawing is performed for the list item. |
Signals the OnDrawItem event handler (when assigned) to draw the list item. Calls the FillRect and TextOut methods in the control Canvas if the event handler has not been assigned.
DrawItem is called when a CN_DRAWITEM message us received and handled for the control.
|
Event handler signalled to render an owner drawn item. |
|
|
TCanvas instance used to draw the control. |
|
|
Fills a rectangular area on the canvas using the current Brush settings. |
|
|
Writes text at the specified position on the canvas. |
|
|
Version 3.2 | Generated 2024-02-25 | Home |