RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid Class

TCustomGrid is the base type for all components that present information in a two-dimensional grid.

Pascal
TCustomGrid = class(TCustomControl);
C++
class TCustomGrid : public TCustomControl;

Grids

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!