trigger pullDown
Interactive trigger for responding to a request for a pulldown menu in a desktop application.
Declaration: |
|
Applies to: |
|
Activation: |
Activated by the structure editor function
^PULLDOWN, but only if the assignment file setting for $MENU_BAR
includes the parameter It is only possible to activate the application-level trigger if the component-level trigger does not contain ProcScript, or if it contains a $callup instruction. |
Default behavior: |
None |
Behavior upon completion: |
None |
Description
Caution: It is strongly recommended that you not use pullDown triggers; they are provided for compatibility with pre-V5.2 applications.
The default menu bar is called USYS_BAR and is in the USYS library. This is a default menu bar which Uniface makes available for compliance with GUI environments.
The menu bar for an application shell can be changed in ProcScript by the pulldown or pulldown/load instruction. You should not use pulldown/load in the pullDown trigger.
ProcScript in the component-level pullDown trigger normally overrides the application-level pullDown trigger. However, using the $callup function, it is possible to activate the application level trigger when the componen-level trigger a $callup instruction. For more information, see $callup.