API:Vcl.Grids.TStringGrid
Delphi
TStringGrid = class(TDrawGrid)
C++
class PASCALIMPLEMENTATION TStringGrid : public TDrawGrid
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | Vcl.Grids |
Description
TDrawGrid represents a grid control that displays information in column and row format.
Vcl.Grids.TStringGrid inherits from Vcl.Grids.TDrawGrid. All content below this line refers to Vcl.Grids.TDrawGrid.
TDrawGrid represents a grid control that displays information in column and row format.
Add a TDrawGrid object to a form to present arbitrary information in a tabular format. TDrawGrid provides many properties to control the appearance of the grid, as well as events and methods that take advantage of the tabular organization of the grid in responding to user actions.
TDrawGrid introduces several events and methods to allow applications to customize the appearance and behavior of the grid.
If the cells of the grid contain text strings that represent objects, consider using a TStringGrid object instead. If the grid displays field values from the records in a dataset, use TDBGrid instead.