Share via


SelectionMode 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 a ModHFGrid should make it possible for regular cell selection, selection by rows, or selection by columns.

Syntax

object.SelectionMode [=value]

The SelectionMode 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 the selection mode, as described in Settings.

Settings

The settings for value are:

Constant Value Description
flexSelectionFree 0 Free. This makes it possible for individual cells in the ModHFGrid to be selected, spreadsheet style. This is the default.
flexSelectionByRow 1 By Row. This forces selections to span entire rows, as in a multi-column list box or record-based display.
flexSelectionByColumn 2 By Column. This forces selections to span entire columns, as if selecting ranges for a chart or fields for sorting.

See Also

AllowBigSelection Property (ModHFGrid) | ModHFGrid Control