Key-Others Trigger
Description
A Key-Others trigger fires when an operator presses the associated key.
A Key-Others trigger is associated with all keys that can have key triggers associated with them but are not currently defined by function key triggers (at any level).
A Key-Others trigger overrides the default behavior of a Runform function key (unless one of the restrictions apply). When this occurs, however, Oracle Forms still displays the function key's default entry in the Keys screen.
Trigger Type key
Definition Level form, block, or item
Legal Commands
SELECT statements, restricted Built-ins, unrestricted Built-ins
Enter Query Mode yes
Usage Notes
Use Key-Others triggers to limit an operator's possible actions. Specifically, use Key-Others triggers to perform the following tasks:
- Disable all keys that are not relevant in a particular situation.
- Perform one specific action whenever an operator presses any key.
Also note:
- The key description shown in the default menu's Help
Keys
menu will always be for the form-level trigger defined for that key. If there
are any lower-level triggers (e.g., block-level triggers) that are also defined
for the key, their descriptions will be shown when focus is in the lower level
(e.g., the block) and [Show Keys] is pressed, but they will not be displayed
in the default menu's Help
Keys
menu.
Key-Others Trigger Restrictions
Oracle Forms ignores a Key-Others trigger under the following conditions:
- The form is in Enter Query mode and Fire in Enter-Query Mode is Off.
- A list of values, the Keys screen, a help screen, or an error screen is
displayed.
- The operator is responding to a Runform prompt.
- The operator presses a static function key.