Contents
- Index
- Previous
- Next
FixedCols property
Applies to
TProfGrid component
Declaration
property FixedCols: Integer;
Description
Specifies the number of visible 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 specified by the FixedColor property, and their cells have a raised, 3-D look if the Ctl3D property of the grid is True.
Note: Grids must include at least one scrolling column. Setting FixedCols to a value greater than (ColCount - 1) is not allowed.