[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.