RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDrawGrid.FixedRows Property

Specifies the number of rows on the top of the grid that cannot be scrolled.

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

Set FixedRows to create or get rid of nonscrolling rows. Nonscrolling rows appear at the top of the grid, and are always visible, even when the user scrolls the other rows in the grid. Use nonscrolling rows for displaying column titles or column numbers. 

Nonscrolling rows are visually distinct from the scrollable rows in the grid. They are painted with a separate background color, and their cells have a raised, 3-D look.

Note: Grids must include at least one scrolling row. Do not set FixedRows to a value greater than RowCount - 1.
 

 

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