home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / w / w058 / 6.img / SAMPLE.CF_ / SAMPLE.bin
Encoding:
Text File  |  1993-09-15  |  3.8 KB  |  88 lines

  1. This file demonstrates how to make some simple menu customizations.
  2. To see the final result, select Modify... on the View->Menus menu, and
  3. load this sample file.  You will see the menus change to a new
  4. configuration.  
  5.  
  6. To reset the Frame product to it's regular configuration, just restart
  7. the Frame product. See the reference manuals for more information on where
  8. to find the current set of menu names as well as the complete set of
  9. Command names.
  10.  
  11. Examples in this file:
  12. 1. Define a new menu and add it to the menu bar
  13. 2. Remove a menu item.
  14. 3. Add a new shortcut
  15. 4. Move a menu item from one menu to another menu
  16.  
  17.  
  18.  ************************************************************************
  19.  *  Example 1                                                           *
  20.  *                                                                      *
  21.  *  Define a page design menu so that all of the page design commands   *
  22.  *  can live on one menu                                                *
  23.  *                                                                      *
  24.  ************************************************************************
  25.  
  26. *** Define a new menu  ***
  27.  
  28.     <Menu PageDesignMenu    <Label Page Design>>
  29.  
  30.  
  31. *** Add the PageDesignMenu to the menu bar  ***
  32.  
  33.     <Add PageDesignMenu    <Menu !MakerMainMenu>>
  34.  
  35.  
  36. *** Add some commands to the PageDesignMenu  ***
  37.  
  38.     <Add LayoutNormal          <Menu PageDesignMenu>>
  39.     <Add MasterPageUsage       <Menu PageDesignMenu>>
  40.     <Add LayoutCommands        <Menu PageDesignMenu>>
  41.     <Add !Separator            <Menu PageDesignMenu>>
  42.     <Add HeadersAndFootersMenu <Menu PageDesignMenu>>
  43.     <Add !Separator            <Menu PageDesignMenu>>
  44.     <Add SelectAll             <Menu PageDesignMenu>>
  45.     <Add Flow                  <Menu PageDesignMenu>>
  46.     <Add !Separator            <Menu PageDesignMenu>>
  47.     <Add FormatDocument        <Menu PageDesignMenu>>
  48.     <Add RenamePage            <Menu PageDesignMenu>>
  49.     <Add FreezePagination      <Menu PageDesignMenu>>
  50.  
  51.  
  52.  
  53.  ************************************************************************
  54.  *  Example 2                                                           *
  55.  *                                                                      *
  56.  *  Remove the Headers And Footers menu from the Format menu            *
  57.  *  because we just put this menu on the Page Design menu.              *
  58.  *                                                                      *
  59.  ************************************************************************
  60.  
  61. <Remove HeadersAndFootersMenu    <Menu FormatMenu>>
  62.  
  63.  
  64.  
  65.  ************************************************************************
  66.  *  Example 3                                                           *
  67.  *                                                                      *
  68.  *  Add the shortcut Esc-fl to the command Flow.  This shortcut is      *
  69.  *  currently on the Format menu and it's shortcut is Esc-ol. The old   *
  70.  *  shortcut Esc-ol will still work.  A command can have more than one  *
  71.  *  shortcut.                                                           *
  72.  *                                                                      *
  73.  ************************************************************************
  74.  
  75. <Modify Flow    <KeySequence \!fl>>
  76.  
  77.  
  78.  ************************************************************************
  79.  *  Example 4                                                           *
  80.  *                                                                      *
  81.  *  Move the DocCompare menu item from the File->Utilities menu to the  *
  82.  *  top of the Special menu.                                            *
  83.  *                                                                      *
  84.  ************************************************************************
  85.  
  86. <Order UtilitiesMenu.DocCompare    <First SpecialMenu>>
  87.  
  88.