Object Reference > True DBGrid Properties > AllowRowSelect Property |
AllowRowSelect Property
Enables interactive row selection.
object.AllowRowSelect= boolean
Read/Write at run time and design time.
If True (the default), the user can select rows.
If False, the user cannot select rows.
Use the AllowRowSelect property to control whether the user can select rows by clicking the record selector buttons. By setting this property to False, you can disable record selection without hiding the record selectors altogether, since you may want to use the record selectors to provide visual feedback when the current row is modified.
When AllowRowSelect is True, the MultiSelect property controls the behavior of the record selector buttons with respect to the Ctrl, Shift, and keypad navigation keys.
Note
The user cannot select rows if the RecordSelectors property is set to False for all splits, even if AllowRowSelect is True.