Handling control-frame widget events
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Handling control-frame widget events
You can handle field-level widget events for the control-frame like
ABL events for any other dynamic ABL widget, with ABL triggers built
from the ON statement or the trigger-phrase of
the CREATE statement.
The control-frame supports a subset of field-level widget events that ABL requires for:
-
Managing application execution — Universal key function
events:
END-ERROR(which occurs when theENDkey is pressed),GO, andHELP -
Tabbing between the control and other field-level widgets —
Navigation key function events:
TABandBACK-TAB -
Detecting any change of focus — High-level widget events:
ENTRYandLEAVE -
Handling programmer-defined events — Developer events:
U1throughU10
Note: Unlike earlier support for VBX controls, you
do not have to handle key function events as KeyPress events. With
VBX controls, you had to trap key functions as KeyPress events in
a VBX control event handler, then apply them to the VBX control-container
widget to handle with corresponding key function event triggers.
With ActiveX controls, your triggers on the control-frame widget now
handle the supported function events automatically.