Vcl.StdCtrls.TCustomCombo.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 | TCustomCombo |
Description
Adds an item to the drop-down list of items.
Call AddItem to add a string, with an associated object, to the drop-down list.
Item is the string to add to the drop-down list.
AObject is an object associated with that string. It can be accessed using the Objects property of the TStrings object that implements the Items property.
See Also
Code Examples