Copy From internet --
Create a Form-level, User-named Trigger for Each Entry
The form-level user-named trigger must be called SPECIALn, where n is a number from 1 to 45
Tools menu includes SPECIAL1 to SPECIAL15
Reports menu includes SPECIAL16 to SPECIAL30, and the menu name Reports can be changed
Actions menu includes SPECIAL31 to SPECIAL45, and the menu name Actions can be changed
Create an Appropriate Handler
The SPECIALn trigger typically calls a handler and passes the trigger name; the handler performs your form-specific logic
Instantiate your special menu items at form. startup in the PRE-FORM. trigger.
Call APP_SPECIAL.INSTANTIATE
procedure APP_SPECIAL.INSTANTIATE(
option_name varchar2,
hint varchar2 default null,
icon varchar2 default null,
initially_enabledboolean default true,
separator varchar2 default null);
Specify the trigger name (option name)
Specify the menu entry name (hint), using & to specify the keyboard shortcut for the menu entry
Specify ‘LINE’ as the separator argument to put a line above the menu entry
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13702033/viewspace-253048/
,如需转载,请注明出处,否则将追究法律责任。