VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > AllowSelection Property |
Returns or sets whether the user can select ranges of cells with the mouse and keyboard.
[form!]VSFlexGrid.AllowSelection[ = {True | False} ]
Set this property to False to prevent users from extending the selection by clicking and dragging or using the shift plus cursor keys. In this case, clicking and dragging the mouse will move the current cell, but will not extend the selection.
This capability is useful when using the VSFlexGrid control to implement certain user interface elements such as menus, property sheets, or explorer-style trees.
Boolean
True