Edit Box - Enter Event

Fired when the Enter key is pressed

Member of Edit Box (PRIM_EDIT)

Parameters

Name

Type

Data Type

Description

KeyCode

*Input

Enumeration

The key that was pressed

Char

*Both

Unicode String

Character that was pressed

IsAltDown

*Input

Boolean

Is the Alt key down?

IsControlDown

*Input

Boolean

Is the Ctrl key down?

IsShiftDown

*Input

Boolean

Is the Shift key down?

Handled

*Both

Boolean

Set 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

  • No labels