ComponentOne VSFlexGrid 8.0
FrozenCols Property

Returns or sets the number of frozen (editable but non-scrollable) columns.

Syntax

[form!]VSFlexGrid.FrozenCols[ = value As Long ]

Remarks

Cells in frozen columns can be selected and edited, but they remain visible when the user scrolls the contents of the control horizontally.

Freezing columns is useful when the grid is used as a data browser. It allows users to user to scroll the contents of the control while keeping the FrozenCols leftmost columns visible. If you set the AllowUserFreezing property to a non-zero value, the may freeze or thaw columns at run time by dragging the solid line between the frozen and scrollable areas of the grid.

You may customize the appearance of the frozen areas of the grid using the BackColorFrozen and ForeColorFrozen properties. The solid line between the frozen and scrollable areas of the grid is drawn using the color specified by the SheetBorder property.

Data Type

Long

Default Value

0

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback