LeftSelect

[property icon] LeftSelect

Specifies the default selection for a left 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


>LeftSelect

LeftSelect

This property is used to determine how cells in a KCML Grid control are selected using the left mouse button. See RightSelect for how to handle the right mouse button. When a cell, row or column is selected its background color is changed to bring the cell, row or column to the users attention. This property is only effective if the LeftAction property has been set accordingly. To set this property for an individual row, column or cell this property must be used in conjunction with the Cell() method. For example, the following would set the LeftSelect property for all cells in row 5:

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

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

.GridControl1.LeftSelect = &.Cell

See also

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