Export (0) Print
Expand All
Expand Minimize

Visual Basic: MSFlexGrid/MSHFlexGrid Controls

Visual Studio 6.0

AllowUserResizing Property

See Also    Example    Applies To

Returns or sets a value that determines whether the user can use the mouse to resize rows and columns in the MSHFlexGrid.


object.AllowUserResizing [=value]

The AllowUserResizing property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An integer or constant that specifies whether a user can resize rows and columns, as described in Settings.


The settings for value are:

Constant Value Description
flexResizeNone 0 None. Default. The user cannot resize with the mouse.
flexResizeColumns 1 Columns. The user can resize columns using the mouse.
flexResizeRows 2 Rows. The user can resize rows using the mouse.
flexResizeBoth 3 Both. The user can resize columns and rows using the mouse.


To resize rows or columns, the mouse must be over the fixed area of the MSHFlexGrid and close to a border between rows and columns. The mouse pointer changes into an appropriate sizing pointer, and the user can drag the row or column to change the row height or column width.

© 2014 Microsoft