Share via


AllowUserResizing Property (ModHFGrid)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

Syntax

object.AllowUserResizing [=value]

The AllowUserResizing property syntax has these parts:

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

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.

Example

The following code example adds user-resizing functionality.

Sub Form1_Load ()
   ModHFGrid1.AllowUserResizing =True
End Sub

See Also

ColWidth Property (ModHFGrid) | ModHFGrid Control