RightSelect

[property icon] RightSelect

Specifies the default selection for a right mouse click

Enumerated type, possible values are:

Default Grid default rules apply
Cell Signifies that the appropriate mouse button will select an individual cell only
Row Signifies that the mouse button will select the current row
Col Signifies that the mouse button will select the current column
None The cell, row or column will not get selected though clicking a cell will give it focus

Applies to: Grid , GridCell


>RightSelect

RightSelect

This property is used to determine how cells in a Grid control may be selected using the right mouse button. See LeftSelect for how to handle the left mouse button. This property is only effective if the RightAction property has been set accordingly. To set this property for an individual row, column or cell you must use this property in conjunction with the Cell() method. For example, the following would set the RightSelect property for all cells in row 5:

.GridControl1.Cell(5, 0).RightSelect = &.Cell

And to set this property for the whole grid the following would be used:

.GridControl1.RightSelect = &.Cell

See also

Grid methods, properties and events. GridCell methods, properties and events.