Use this property to manually set the column widths in a Grid Control.
Syntax
object.ColumnWidths [= String]
Parameters
The ColumnWidths property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
String |
The width of the columns in the grid, measured in twips, and separated by a pipe character, using the following format: column1|column2|column3|column4|columnN |
Remarks
To use this property, set AutoResize to false. The column widths you apply remain each time you query the database. This property applies the sizes specified. If you do not specify a column width, the default is 960 twips. To hide a column in the grid display, specify 0. If you specify more columns than the query contains, VisiconX ignores the extra column specifications.