<< Prev        Next >>

ID : 6908

KeyUp Event

This Key Up event will be called when keys is released.

This event is one of the panel control's event.

When the TP panel is active, the fallowing procedure is executed by releasing the pressed Key.

Sub obj_KeyUp(ByVal KeyCode As Integer, ByVal Shift As Integer)

If shift key is pressed, "1" is passed when Key Up event occurs.

If shift key is not pressed, "0" is passed when Key Up event occurs.

Key Key code
STOP 61
CANCEL 27
OK 58
Left 37
UP 38
Right 39
Down 40
F1 112
F2 113
F3 114
F4 115
F5 116
F6 117
F7 118
F8 119
F9 120
F10 121
F11 122
F12 123

Key Up event will not occur if an error or short-cut key exist on the TP panel display.

When the function key control has "Released" event, Key Up event and "Released" event occur at the same time.

It this case, "Released" event of the Function key control is prior to the Key Up event.

 

ID : 6908

<< Prev        Next >>