Visual Basic: DataGrid Control

WrapCellPointer Property

See Also   Example   Applies To

Sets or returns a value that determines the behavior of the arrow keys.

Syntax

object**.WrapCellPointer** [**=**value]

The WrapCellPointer property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A Boolean expression that determines the behavior of arrow keys, as described in Settings.

Settings

The settings for value are:

Setting Description
True The cell pointer will wrap from the last column to the first in the next row (or from the first column to the last in the previous row).
False (Default) The cell pointer will not wrap to the next (or previous) row, but will stop at the last (or first) column of the current row.

Remarks

If TabAcrossSplits is False, the cell pointer will wrap only within the current split. If TabAcrossSplits is True, the cell pointer will move from one split to the next before wrapping occurs.

If TabAction is set to 2 - Grid Navigation, the tab key will behave like the arrow keys, and will automatically wrap to the next or previous cell.