FrozenRows Property

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

Syntax

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

Remarks

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

Freezing rows is useful when the top rows are used to display information that should be kept visible, such as subtotals or a "query-by-example" search row. If you set the AllowUserFreezing property to a non-zero value, the may freeze or thaw rows 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

See Also

VSFlexGrid Control