Vcl.Grids.TCustomGrid
Delphi
TCustomGrid = class(TCustomControl)
C++
class PASCALIMPLEMENTATION TCustomGrid : public Vcl::Controls::TCustomControl
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | Vcl.Grids |
Description
TCustomGrid is the base type for all components that present information in a two-dimensional grid.
Use TCustomGrid as a base class when defining components that represent information in a tabular format. TCustomGrid introduces properties and methods to control the appearance and behavior of the grid, including responses to mouse actions and user editing.
Do not create instances of TCustomGrid. Instead, put a grid control in a form by instantiating a descendant of TCustomGrid. Use TDrawGrid to represent non-textual material in a tabular grid. For text, use a TStringGrid object. If the text represents field values from a dataset, use TDBGrid.