Vcl.Grids.TStringGridStrings.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.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGridStrings |
Description
Changes the object associated with the string at a specified index.
Vcl.Grids.TStringGridStrings.PutObject inherits from System.Classes.TStrings.PutObject. All content below this line refers to System.Classes.TStrings.PutObject.
Changes the object associated with the string at a specified index.
PutObject is the protected write implementation of the Objects property.
As implemented in TStrings, PutObject does nothing. This provides a default implementation for descendants that do not support associating objects with the strings in the list. Descendants that support this feature override PutObject to change the specified object.