Language Reference Guide : System Classes : InputEvent Class : VirtualKey Attribute
 
Share this page          
VirtualKey Attribute
Data Type: integer
4GL Access: RW
The VirtualKey attribute identifies the keyboard virtual key (or keys) whose action triggered this event. The virtual key value is recorded as a two-character hexadecimal value.
Virtual key values are listed in Virtual Key Values.
Where multiple virtual keys are pressed simultaneously, all the key values are recorded in alphanumeric order. For example Escape-LeftShift-O-P (0x1B-0xA0-0x4F-0x50) is recorded as 1B4F50A0.