[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomListView.AddItem

Adds a list item with the specified caption and optional object.

Declaration

Source position: comctrls.pp line 1600

public procedure TCustomListView.AddItem(

  Item: string;

  AObject: TObject

);

Arguments

Item

  

Caption for the new list item.

AObject

  

Optional object instance for the list item.