TX Text Control ActiveX

KeyUp Event

Event

Occurs when the user releases a key while the Text Control has the input focus. To interpret ANSI characters, use the KeyPress event.

Syntax

KeyUp(KeyCode, Shift)

Parameters

ParameterDescription
KeyCodeIs the virtual-key code of the released key. When this value is changed, Text Control handles the changed key.
ShiftInforms about the state of the SHIFT, CTRL and ALT keys at the time of the event. It is the sum of one or more of the following values:

Shift

ValueDescription
1The SHIFT key was pressed at the time of the event.
2The CTRL key was pressed at the time of the event.
4The ALT key was pressed at the time of the event.

Data Types

NameData type
KeyCodeInteger
ShiftInteger

See Also