ComponentOne VSFlexGrid 8.0
ColWidthMin Property

Returns or sets the minimum column width, in twips.

Syntax

[form!]VSFlexGrid.ColWidthMin[ = value As Long ]

Remarks

Set this property to a non-zero value to set a minimum limit to column widths. Set it to zero to remove the minimum limit on column widths. Use the ColWidthMax property to set a maximum limit to column widths.

Setting limits on column widths may be useful in conjunction with the AutoSize method to prevent extremely long entries from making columns too wide or empty columns from becoming too narrow.

This example sets the minimum column width to 1/2 inch (720 twips):

   fg.ColWidthMin = 720

Data Type

Long

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback