Vcl.StdCtrls.TCustomComboBoxStrings.PutObject

From RAD Studio API Documentation
Jump to: navigation, search

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.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomComboBoxStrings

Description

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.

See Also