Creating Subpalettes

Complete the following steps to insert a new, empty subpalette in the Controls or Functions palette. You cannot insert a submenu in one of the default palettes.

  1. Click the Options button in the Controls or Functions palette toolbar to display the Function Browser Options dialog box.
  2. Click the Edit Palettes button. The Edit Controls and Functions Palettes dialog box appears.
  3. Select the custom view you want to edit from the Palette View pull-down menu. The Controls and Functions palettes change to the view you selected.
  4. Right-click the palette and select Insert»Submenu. The Insert Submenu dialog box appears.
  5. Select Create a New Menu File to insert a new, empty palette and click the OK button.
  6. When prompted, enter a name for the file to contain the subpalette.
  7. Add a .mnu extension to the filename to indicate that it is a menu (palette).
  8. Store the .mnu file in the directory of your new view in the menus directory or in the same directory that contains the controls or VIs the menu represents and click the OK button.
  9. In the Palette View Name dialog box, enter the name of the new subpalette and click the OK button.

You can mix VIs, functions, controls, and subpalettes within a palette. Also, a palette can contain VIs from different locations.