Vcl.ComCtrls.TListItems.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add: TListItem;

C++

TListItem* __fastcall Add();

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListItems

Description

Creates a new list item and adds it to the list view control.

Call Add to add a new list item to the end of the list. Add returns the newly created TListItem object.

To create an item and insert it into the beginning or middle of the list, use the Insert method instead.

See Also

Code Examples