PreviousNextIndex

CODE attribute

A numeric code associated with the last event.

Data type: INTEGER

Access: Readable

Applies to: LAST-EVENT system handle

For keyboard and mouse events (EVENT-TYPE attribute set to "KEYPRESS" or "MOUSE"), this is the key code. For high-level ABL events (EVENT-TYPE attribute set to "PROGRESS"), this is a unique numeric value greater than the key code values. For information on key codes, see the chapter on handling user input in OpenEdge Development: Programming Interfaces.

If a mouse event is high-level mouse event (for example, MOUSE-SELECT-CLICK), this attribute is set to the key code of the low-level mouse event (for example, MOUSE-SELECT-UP) that triggered the high-level event. To determine the triggered high-level event, you must also check the value of the FUNCTION attribute, in this case "MOUSE-SELECT-CLICK".


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex