Vcl.StdCtrls.TCustomListBox.AddItem
Delphi
procedure AddItem(Item: String; AObject: TObject); override;
C++
virtual void __fastcall AddItem(System::UnicodeString Item, System::TObject* AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Adds an item to the list box
Call AddItem to add a new item to the end of the list.
Item is the text of the item to add.
AObject is the object associated with the new item.