List - EnterKeyStyle Property

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

Member of List (PRIM_LIST)

Data Type - Enumeration

Details

The EnterKeyStyle property determines the behavior of the Enter key when it is pressed while focus is in a list.
 
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
None The Enter key is ignored by the list
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

LANSA Version 15, April 2020