Vcl.ComCtrls.TComboBoxExStrings.AddObject
Delphi
function AddObject(const S: String; AObject: TObject): Integer; override;
C++
virtual int __fastcall AddObject(const System::UnicodeString S, System::TObject* AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TComboBoxExStrings |
Description
Adds a TComboExItem object to the extended combo box.
Call Add to add a new object to the extended combo box, specifying its caption and data. The method returns the new item index.