Grid - EnterKeyStyle Property

EnterKeyStyle determines what happens when Enter key is pressed in a grid

Member of Grid (PRIM_GRID)

Data Type - Enumeration

Details

The EnterKeyStyle property determines the behavior of the Enter key when it is pressed while focus is in a grid.

By default, focus will move to the next item in the grid.

Allowed Values

Enum Value

Description

AroundGrid

Move focus left to right and top to bottom, returning to the first row and column once the end is reached

DialogAroundGrid

As per AroundGrid, unless there is a default button, in which case the click will fire

DialogDown

As per Down, unless there is a default button, in which case the click will fire

DialogNextRow

As per NextRow, unless there is a default button, in which case the click will fire

DialogThroughGrid

As per ThroughGrid, unless there is a default button, in which case the click will fire

Down

Move focus to the item below staying in the same column

NextRow

Move focus to the first column of the item below

ThroughGrid

Move focus left to right and top to bottom, focussing on the next control once the end is reached


See also

All Component Classes

Technical Reference