Progress
Programming
Handbook


User Interface Triggers

Progress allows you to access all keystrokes as events. You can intercept these events using the ON statement or the trigger phrase of any statement that declares a user interface widget. For each intercepted event, you can provide a user interface trigger to implement any Progress action. This action can add to, and often replace, the default action associated with the event.

All Progress key labels and key functions are valid events. You can specify a keyboard event in the ON statement or trigger phrase by:

Key label events take priority over corresponding key function events. For example, if you specify a trigger for the TAB key function event and another trigger on the same widget for the CTRLI key label event, only the CTRLI trigger executes.

Where a key label event corresponds to a key function, use the key function event whenever possible. Key functions are more portable. If you must reference key label events, be sure not to also reference corresponding key function events for the same widget.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095