Controls whether VisiconX automatically sizes the columns in a Grid Control to fit the data.
Syntax
object.AutoResize [= Boolean]
Parameters
The AutoResize property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether to automatically size the column widths in a Grid Control. |
Settings
The settings for Boolean are:
Value |
Description |
True |
Automatically sizes the column widths in a Grid Control to fit the data. (Default) |
False |
Must manually size the column widths in a Grid Control using the ColumnWidths Property. |
Remarks
Set this property to False and use the ColumnWidths property if you want to set the Grid column widths manually. By setting the widths manually, the columns remain the same size each time you run the query.