RAD Studio VCL Reference
TComboBoxExStrings.PutObject Method

Changes the object associated with the string at a specified index.

procedure PutObject(Index: Integer; AObject: TObject); override;
virtual __fastcall PutObject(int Index, TObject * AObject);

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!