FrozenCols Property

Returns/Sets the number of frozen columns in the grid.


Syntax

object.FrozenCols [= number ]

The syntax of the FrozenCols Property has these parts:

PartDescription
objectA DGrid control.
number  The number of columns to freeze. Default = 0. Range 0 to 255.

Remarks

If number is greater than the number of visible columns in the grid, all visible columns will be frozen. If this property is changed after a recordset is loaded, call the Refresh method to reset the grid.

Data Type

Long