Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Appendix A Displaying an Application : Displaying a Menu

Displaying a Menu
To display a menu from within an application, you can use the tool DISPALY_MENU tool. If the menu has sub-menus embedded within it, these menus are also called.
Example of the DISPLAY_MENU Tool
The following example illustrates the DISPLAY_SCR_EMP rule, which uses the DISPLAY_MENU tool to display the SCR_EMPLOYEE menu:

 
RULE EDITOR ===> SCROLL: P
DISPLAY_SCR_EMP;
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ CALL DISPLAY_MENU(’SCR_EMPLOYEE’); | 1
_ ---------------------------------------------------------------------------
PFKEYS: 1=HELP 3=END 12=CANCEL 13=PRINT 14=EXPAND 2=DOCUMENT 22=DELETE

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved