VisibleCols Property

Returns/Sets the number of columns to display in the grid.


Syntax

object.VisibleCols [= number ]

The syntax of the VisibleCols Property has these parts:

PartDescription
objectA DGrid control.
number  A value between 1 and 1024. Default = 1024.

Remarks

The grid uses the smallest of the VisibleCols property value and the actual number of columns in the recordset.

Data Type

Long