Vcl.Grids.TStringGridStrings.Put
Delphi
procedure Put(Index: Integer; const S: string); override;
C++
virtual void __fastcall Put(int Index, const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGridStrings |
Description
Changes the value of the string with a specified index.
Vcl.Grids.TStringGridStrings.Put inherits from System.Classes.TStrings.Put. All content below this line refers to System.Classes.TStrings.Put.
Changes the value of the string with a specified index.
Put is the protected write implementation of the Strings property.
Put changes the value of the string with the index specified by Index to S. Put does not change the object at the specified position. That is, any object associated with the previous string becomes associated with the new string.