Edit Field - Enter Event

Fired when the enter key is pressed

Member of Edit Field (PRIM_MD.Edit)

Parameters

NameTypeData TypeDescription
KeyCode*InputEnumerationThe key that was pressed
Char*BothUnicode StringCharacter that was pressed
IsAltDown*InputBooleanIs the Alt key down?
IsControlDown*InputBooleanIs the Ctrl key down?
IsShiftDown*InputBooleanIs the Shift key down?
Handled*BothBooleanSet to true to stop the key being processed automatically

Details

The Enter event is fired when the Enter key is pressed and the control has focus.
 
This is a simpler mechanism that using a KeyPress event or a default push button.

Example

Using the Enter event.
Evtroutine Handling(#Search.Enter)
 
   * User processing here
 
Endroutine

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020