In BBj 6.0 and higher, this event is returned by BBjAPI().getLastEvent() when the program is executing callback code that the program has registered for the ON_KEYPRESS event.

Methods of BBjKeypressEvent

Return Value Method
boolean getCapsLock()
char getKeyChar()
int getKeyCode()
int getKeyLocation()
boolean getNumLock()
BBjControl getOriginalControl()
boolean isAltDown()
boolean isCmdDown()
boolean isControlDown()
boolean isShiftDown()

Methods of BBjKeypressEvent inherited from BBjSysGuiEvent

Return Value Method
BBjControl getControl()

See Also

CALLBACK Verb - Register BBj Subroutine


Keypress Event