Creating custom hierarchies

When you create nodes in the hierarchy you can specify a name, select a name from the Table of Names and Texts, or both. To see the contents of the Table of Names and Texts as well as the hierarchy structure, click Show Table of Names and Texts in the toolbar of the Hierarchy Designer dialog box. The Table of Names and Texts is the Application Studio string table and displays the element names and their translated values.

  1. Right-click Custom Hierarchies in the Accessories pane and select New Custom Hierarchy.
  2. Specify a name of 50 characters or fewer.
  3. Press <Enter>.
    The Hierarchy Designer is displayed.
  4. From the shortcut menu on the Add String button, select at what level of the hierarchy to create the node (child, sibling or parent).
  5. Specify the unique name or caption of the node. This is inserted into the Table of Names and Texts where you can provide a translation of it.

    Each node in the hierarchy has two parts, the unique name and caption. The default view of the hierarchy is caption view. To switch between caption view and unique name, click Show Unique Names. Captions and unique names can be edited. Unique names can be up to 50 characters long.

    When you create a node in the caption view of the hierarchy, you give it a caption and its unique name is generated. This unique name is nodeN (where N is a sequential number). When you create nodes in the unique name view of the hierarchy, the unique name you provide is copied to the caption.

    You can also add texts from the Table of Names and Texts. Select a text in the Table of Names and Texts and use the shortcut menu of the Add to Hierarchy button to add it as a sibling or child.

  6. Optionally, click Synchronize the selection of the hierarchy and the table of names and texts to disable synchronization (for example, to select a parent item in the hierarchy structure and a child in the Table of Names and Texts in order to add the child to the hierarchy).
    By default, the Table of Names and Texts and the hierarchy structure are synchronized. That is, clicking a caption or unique name in the hierarchy selects its entry in the Table of Names and Texts.