AutoSizeMouse Property

Returns or sets whether columns should be resized to fit when the user double-clicks on the header row.

Syntax

[form!]VSFlexGrid.AutoSizeMouse[ = {True | False} ]

Remarks

If AllowUserResizing is set to a value that allows columns resizing, the mouse cursor changes as the user moves the mouse near the edge of fixed header cells to indicate resizing is possible. If AutoSizeMouse is set to True and the user double-clicks while the resize mouse cursor is displayed, the column will be resized automatically to fit the widest entry on the column.

Data Type

Boolean

Default Value

True

See Also

VSFlexGrid Control