AllowSelections Property

Returns/Sets how users can make selections in the grid.


Syntax

object.AllowSelections [= number ]

The syntax of the AllowSelections Property has these parts:

PartDescription
objectA DGrid control.
number  A dgSelectionConstants value 0=dgNone, 1=dgSingle, 2=dgMultiple.

Remarks

If this property is changed after a recordset is loaded, call the Refresh method to reset the grid.

Data Type

dgSelectionConstants