API:Vcl.Grids.TDrawGrid.FixedRows

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FixedRows: Integer read FFixedRows write SetFixedRows default 1;

C++

__property FixedRows = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TDrawGrid

Description

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

Vcl.Grids.TDrawGrid.FixedRows inherits from Vcl.Grids.TCustomGrid.FixedRows. All content below this line refers to Vcl.Grids.TCustomGrid.FixedRows.

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