[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TStringGridStrings

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Represents strings used as the cell values in TCustomStringGrid / TStringGrid.

Declaration

Source position: grids.pas line 1694

type TStringGridStrings = class(TStrings)

protected

  function Get(); override;

  

Gets the string at the specified index position.

  function GetCount; override;

  

Gets the value for the Count property.

  function GetObject(); override;

  

Gets the value for the indexed Objects property.

  procedure Put(); override;

  

Sets the value for the indexed Strings property.

  procedure PutObject(); override;

  

Sets the value for the indexed Objects property.

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  function Add(); override;

  

Adds the specified string to the class instance.

  procedure Assign(); override;

  

Stores property values from Source into the current class instance.

  procedure Clear; override;

  

Removes all values for the column or row represented by the class instance.

  procedure Delete(); override;

  

Deletes a value stored in the class instance.

  procedure Insert(); override;

  

Inserts a value in the class instance.

end;

Inheritance

TStringGridStrings

  

Represents strings used as the cell values in TCustomStringGrid / TStringGrid.

|

TStrings

?

TObject

Description

TStringGridStrings is a TStrings descendant that represents the strings used to populate the cells in a TStringGrid instance.