Progress
Language Reference
Keyboard Events
Progress makes all keyboard actions available as events that you can specify by either key label or key function. You can write triggers for these keyboard events, and associate these triggers with any field-level widget that receives input focus. For a complete list of key label and key function names, and information on how to use them, see the chapter on handling user input in the Progress Programming Handbook .
Keyboard events have default effects depending on the widget that receives the event. For example, the “A” key label event displays an upper-case “A” in a fill-in or editor widget, but has no default effect when applied to a button. Progress organizes some key function events into several classes that have default effects on selected groups of widgets. Progress also provides special keyboard events to write default triggers on classes of keys. You can use these default events to write a trigger for all keys in a particular class for which you have not defined a key label or key function event trigger.
Main Classes of Key Function Events
Progress supports three main classes of key function events:
- Universal key function events — These events apply to all user-interface widgets except menus, submenus, and menu items.
- Navigation key function events — These events apply to those field-level widgets that can receive focus.
- Field editing key function events — These events apply to fill-ins and browse cells.
Table 65 describes universal key function events.
Table 66 describes navigation key function events.
Table 67 describes field editing key function events.
Default Keyboard Events
Progress provides two keyboard events that you can use to write default triggers. Table 68 describes these events.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |