Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomListView.DrawItem

Draws the specified list item with a given state.

Declaration

Source position: comctrls.pp line 1542

protected procedure TCustomListView.DrawItem(

  AItem: TListItem;

  ARect: TRect;

  AState: TOwnerDrawState

);

Description

Signals the OndrawItem event handler (when assigned) to draw the list item. Calls the FillRect and TextOut methods in the control Canvas when the event handler is not assigned.