ShowSelection

[property icon] ShowSelection

Shows how selected cells are highlighted

Enumerated type, possible values are:

Default Grid default rules
None
NoColor
NoForceOnScroll
Outline

Applies to: Grid

Introduced in KCML version 6.00


>

ShowSelection

Used to show how selected cells on a grid are displayed.

The available settings are

Enumeration Purpose
Default Always show the cells using the Windows highlight text and background colors.
None Never show selected cells in different colors.
NoColor Only show selected cells using the Windows highlight colors if the cell's coloring would otherwise be a system color (including KClient defined system colors such as EditReadOnlyColor). The NoColor scheme is compatible with 5.02 KClient.
NoForceOnScroll This does not force the selection of a visible cell when the current cell scrolls off the screen. This makes it more natural on touch screens. This is not suitable for grids with autoedits.
Outline Show the selected cells by drawing a solid border around them.
 .GridControl1.ShowSelection = &.None

See also

Grid methods, properties and events.