See Also       Example Send us your Feedback
MultiSelect Property
Controls multiple selection mode.

Read/Write at run time and design time.

Syntax

object.MultiSelect As sgMultiSelect

The object placeholder represents an object expression that evaluates to SGSelection and SGGrid objects.

Settings

 The MultiSelect settings are:
Name Value Description
sgMultiSelectNone 0 No multiple selections.
sgMultiSelectSimple 1 All selected rows, cols or cells are adjacent.
sgMultiSelectExtended 2 Can select ranges of non-adjacent rows, cols or cells.

 Remarks

Returns or sets a value indicating whether a user can select multiple rows, columns or cells and how the multiple selections can be made.

This property has no effect if the SelectionMode is set to sgSelectionNone.

 Show Example
 Copy Code     Show Me

Private Sub Form_Load()
   SGGrid1.SelectionMode = sgSelectionByRow
   SGGrid1.MultiSelect = sgMultiSelectExtended
   SGGrid1.SpecialMode = sgModeListBox
End Sub


Back to topic