RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGrid Class

TStringGrid represents a grid control designed to simplify the handling of strings and associated objects.

Pascal
TStringGrid = class(TDrawGrid);
C++
class TStringGrid : public TDrawGrid;

Grids

Add a TStringGrid object to a form to present textual data in a tabular format. TStringGrid 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.  

TStringGrid introduces the ability to associate an object with each string in the grid. These objects can encapsulate any information or behavior represented by the strings that are presented to the user. 

If the strings to be presented in a grid represent field values from the records in a dataset, use TDBGrid instead. 

 

TDBGrid 

TValueListEditor 

String Grids 

Grids

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