AutoSizeCols Property

Returns/Sets how many records to check to set the column widths in the grid.


Syntax

object.AutoSizeCols [= number ]

The syntax of the AutoSizeCols Property has these parts:

PartDescription
objectA DGrid control.
number  The number of records to read. Default = 100. Range 0 to 255.

Remarks

This property has no effect after the recordset has been loaded.

Data Type

Long