| Home | Desktop Application Menus | General | Creating Desktop Menus | Dictionary-IV Menu selections can now execute from either the WorkStation Manager Applications options, the Windows Start Button Menu, the Desktop or from within the VIP GUI Server Menu Bar. Selecting a Menu option from the Windows Start button executes Basic with the values of the menu name and menu selection to be executed. The menu selection values are then passed to either OO or ID for processing by the host. Exiting the Menu selection goes back to the OO or ID menu program. The Basic session remains active sitting at an input. If you are running graphically, the GUI Server window remains visible and application menu selections can be made from the GUI Server Menu Bar. This allows subsequent menu selections to be made without starting another Basic session. To exit the Basic session, press <F4>. When executing your menu selections from the workstation, the IDOL-IV/OPENworkshop start up program must be OOWEB. Until we are able to integrate executing or running your IDOL-IV/OPENworkshop start up program from within OOWEB, please edit this program to run or execute your application start up program. Edit line 120 adding your RUN or CALL immediately before the RUN "ID". We strongly recommend converting all RUNs to CALLs. See also Autologon. To create your application menu selections for the workstation, it is first necessary to convert your IDOL-IV screen menu definitions to pop-up menu definitions. Once this is done, a data file (IDDBDWB) containing all the menu selection information and structure must be generated. There are easy to use utilities to accomplish this. Start Basic using a standard IPLINPUT file. Run "OO" and select Utilities. Select Build Menu Headers. Select the option for All or Select libraries. This will build pop-up menu headers for your Dictionary-IV Menu Libraries. Select Build List Box Menus. Enter a list of 2 character menu libraries or a list of menu names delimitated by a comma (,). This will generate pop-up menu definitions based on the selected Dictionary-IV menu libraries or menu definitions. Select Build Start Menus. This option will generate IDDBDWB. This file will contain your menu structure and all the necessary information to process your application selections. A view of all libraries will be displayed, scroll to the desired library name and <CR> to select it. A view of all pop-up menu definitions will be displayed. Scroll to the desired menu definition and <CR> to select it. At this point you will have two options. Press <CR> to generate the menu selection data and preserve your menu tree structure. This will generate a context menu (window menu) for each menu referenced by the root menu. This will emulate the same menu structure (menu paths) as is done in IDOL-IV. Press <F2> to generate one single context menu (window menu). This will generate a single context menu containing all the menu selections for each menu referenced by the root menu. Select Set Start Menu. A view of menus that have been processed by the Build List/Box option and the Build Start Menus option will be displayed. If you are using Dictionary-IV menus (ID), you will need to modify the text found in the Action column. In the first line of text, add to the end EXEC ID. The first line in the Action column should read: CONNECT MENU menu-name EXEC ID. Return to the Menu Name column. Press <F1> to add the menu to both the WorkStation Manager Applications and to the Windows Start Button. Press <F2> to add the menu to the GUI Server Menu Bar. Note, you must first select <F1> and then <F2>, the <F2> option is only valid after having selected <F1>. You can now F4 out and exit Basic. Create an IPLINPUT file to be used with the Start Button Menus, WorkStation Manager or Desktop shortcuts. In the Thoroughbred home directory (i.e. \TBC), copy IPLINPUT to IPLWEB. Edit IPLWEB and make the following changes.
If you are running on a remote host define an Autologon entry in the WorkStation Manager Options Tab screen. If you are running on a local host, be sure you have properly modified the Tbred.ini file for the startbasic entry as described in the Installation / Getting Started section of this document. Before executing your application menus, verify that the WorkStation Manager options are set properly, in particular the Host Type and Presentation Mode. |