Vcl.Grids.TCustomGrid.FixedRows

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FixedRows: Integer read FFixedRows write SetFixedRows default 1;

C++

__property int FixedRows = {read=FFixedRows, write=SetFixedRows, default=1};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

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

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.

See Also