RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDrawGrid.GridWidth Property

Specifies the width of the grid in pixels.

Pascal
property GridWidth: Integer;
C++
__property int GridWidth;

Read GridWidth to determine the size of the grid. If GridWidth is less than the value of ClientWidth, all of the columns of the grid appear in the control with an empty region to the right of the grid. If the underlying grid is too wide to appear in the control, GridWidth is the same as ClientWidth, and the user must scroll to see the entire contents of the grid. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!