Vcl.ComCtrls.TComboBoxExStrings.PutObject
Delphi
procedure PutObject(Index: Integer; AObject: TObject); override;
C++
virtual void __fastcall PutObject(int Index, System::TObject* AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TComboBoxExStrings |
Description
Changes the object associated with the string at a specified index.
Vcl.ComCtrls.TComboBoxExStrings.PutObject inherits from Vcl.StdCtrls.TCustomComboBoxStrings.PutObject. All content below this line refers to Vcl.StdCtrls.TCustomComboBoxStrings.PutObject.
Changes the object associated with the string at a specified index.
PutObject is the protected write implementation of the Objects property. It associates the object specified by AObject with the item identified by Index.
Index identifies an item in the drop-down list of the combo box, where 0 is the index of the first item, 1 is the index of the second item, and so on.
AObject is the object to associated with the specified item.