LAST-EVENT system handle
A handle to the last event the application received.
Syntax
attribute
Attributes
ExampleThis procedure creates a variety of widgets and a frame that acts as a message area. As you move around the widgets the procedure tells you what events ABL generates.
Notes
- For keyboard events, the CODE, FUNCTION, and LABEL attributes return the key code, key function, and key label of the event, respectively. For all other events the CODE attribute returns the numeric event code.
For mouse events, the FUNCTION attribute returns the names of portable mouse events and the LABEL attribute returns the names of three-button mouse events.For high-level ABL events, the FUNCTION attribute returns the name of the event. If the ABL event is triggered by a key press, the LABEL attribute returns the key label. Otherwise, it returns the event name, as with the FUNCTION attribute.- The EVENT-TYPE attribute returns the category of the event: KEYPRESS, MOUSE, or ABL.
- The ON-FRAME-BORDER attribute indicates whether a MOUSE event occurred in the border of a frame.
- The TYPE attribute returns the widget type, PSEUDO-WIDGET.
- The X and Y attributes return the pixel position of a MOUSE event relative to the current frame.
- For browse widgets, WIDGET-ENTER and WIDGET-LEAVE are different depending on whether the browse is editable or read-only. For editable browse widgets, WIDGET-ENTER contains the handle of the column with focus. For read-only browse widgets, WIDGET-ENTER contains the handle of the browse. For editable brows widgets, WIDGET-LEAVE contains the handle of the column the user just left. For read-only browse widgets, WIDGET-LEAVE contains the handle of the field-level widget the user just left.
See alsoLIST-EVENTS function, LIST-WIDGETS function, SELF system handle, VALID-EVENT function
OpenEdge Release 10.2B
|