Progress
External Program
Interfaces
Handling Control-frame Widget Events
You can handle field-level widget events for the control-frame like Progress events for any other dynamic 4GL widget, with Progress 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 Progress requires for:
- Managing application execution — Universal key function events: END-ERROR (which occurs when the END key is pressed), GO, and HELP
- Tabbing between the control and other field-level widgets — Navigation key function events: TAB and BACK-TAB
- Detecting any change of focus — High-level widget events: ENTRY and LEAVE
- Handling programmer-defined events — Developer events: U1 through U10
For more information on handling Progress events with triggers, see the Progress Programming Handbook .
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.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |