Creating toolbars

  1. In the Customize dialog box, click the Toolbars tab.
  2. Do one of the following:
    • Select a menu group, then right-click and choose Append toolbar in the context menu.

      The new toolbar will be added below the last existing toolbar.

    • Select an existing toolbar in a menu group, then right-click and choose Insert toolbar in the context menu.

      The new toolbar will be added above the selected toolbar.

    The Add toolbar dialog box appears.

  3. Type a name in the Title field.
  4. Click the OK button.

    The toolbar is created.

  5. Define the properties of the toolbar:
    • Title: The toolbar name must include alphanumeric characters with no punctuation other than a dash (–) or an underscore (_). The Title along with the Alias enables the toolbar to be referenced programmatically.
    • Position: Defines the display position of the toolbar when the CUI file is loaded.

      The options are: Floating, Top, Left, Bottom or Right. The latter four refer to the window edge where the toolbar will be docked.

    • Display: Defines whether the toolbar appears or not when the CUI file is loaded.
    • Rows: Specifies the number of rows when its position is floating. Toolbars with controls cannot have multiple rows.
    • Xval: When the position is Floating, specifies the X coordinate in pixels, measured from the left edge of the screen to the left side of the toolbar.
    • Yval: When the position is Floating, specifies the Y coordinate in pixels, measured from the top edge of the screen to the top of the toolbar.
  6. Add items to the toolbar.

To add a flyout to a toolbar

  1. In the Customize dialog box, click the Toolbars tab.
  2. Do one of the following:
    • Select a toolbar, then right-click and choose Append Flyout in the context menu, to add the flyout at the end of the toolbar.
    • Expand the toolbar, right-click a tool then choose Insert flyout in the context menu, to add the flyout above the selected tool.
  3. The Add flyout dialog box appears.
  4. Type a name in the Title field of the Add flyout dialog.
  5. Click the OK button.

    A new empty toolbar is created and inserted as a flyout in the selected toolbar.

  6. Define the flyout properties of the toolbar.
    • Title: The toolbar name must include alphanumeric characters with no punctuation other than a dash (–) or an underscore (_). The Title along with the Alias enables the toolbar to be referenced programmatically.
    • Target alias: Identifies the referenced toolbar.
    • Own Icon:
      • No: The icon of the first tool or the icon of the most recently used tool is displayed in the parent toolbar.
      • Yes: The selected icon is displayed in the parent toolbar.
  7. Define the properties of the toolbar when the flyout is teared off and inserted as a floating toolbar.
  8. Add items to the toolbar.

    Items added to the flyout are automatically added to the toolbar and vice versa.