Vcl.Grids.TDrawGrid.FixedCols

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FixedCols;

C++

__property FixedCols = {default=1};

Properties

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

Description

Specifies the number of columns on the left of the grid that cannot be scrolled.

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

Specifies the number of columns on the left of the grid that cannot be scrolled.

Set FixedCols to create or get rid of nonscrolling columns. Nonscrolling columns appear at the left of the grid, and are always visible, even when the user scrolls the other columns in the grid. Use nonscrolling columns for displaying row titles or row numbers, or to implement a scroll lock that the user can set.

Nonscrolling columns are visually distinct from the scrollable columns 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 column. Do not set FixedCols to a value greater than ColCount - 1.

See Also