Vcl.Grids.TStringGridStrings.Add
Delphi
function Add(const S: string): Integer; override;
C++
virtual int __fastcall Add(const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGridStrings |
Description
Replaces the first empty string with a specified string.
Call Add to add a string to the list. Add searches the list for an empty string and replaces it with S. It then returns the index where it added S to the list. If there are no empty strings in the list, Add does not add S to the list and returns –1.