Skip to main content

TdxCustomListView.AddItem(string,TObject) Method

Appends a new item.

Declaration

procedure AddItem(const AItem: string; AObject: TObject);

Parameters

Name Type Description
AItem string

An item caption.

AObject TObject

A specific object. This parameter value is assigned to the created item’s Data property.

Remarks

An AddItem procedure call creates a new item with the default settings, assigns AItem and AObject parameter values to the created item’s Caption and Data properties, respectively, and appends the item to the control’s Items collection.

See Also