Viewed from left to right, the structure chart displays the ownership relationships among all objects in the layout. Hence it looks like a "tree" structure with the paint window object at the root of the tree (i.e. the left-most object). The objects owned directly by the paint window are connected to it. The objects owned directly by each of those objects are connected to them, and so on down the tree. The tree of menu objects is unique as it is always located at the top of the structure chart and cannot be moved. Note that only certain types of objects can own other objects. The window itself can own any type of object including menus and forms. Menus can only own menu items. Menu items can own other menu items. Forms can own all types of form field objects but not other forms. Frame form fields can own all types of form field objects (including other frames). Option box form fields can only own radio buttons which become transformed into "Option Buttons" when so owned.
Except for menu items, when an object is added to the layout, the position at which it is added can be within the dimensions of an existing object that can own it (e.g. a frame form field). If this is done, then the existing object owns the new object, and this ownership relationship is reflected in the structure chart. However, regardless of the position at which a form object is added (e.g. within another form), they are always owned directly by the window. The same is true for a menu object. Regardless of where is physically added, it is positioned at the top of the window and is owned by the window.
When adding menu items, there are two alternatives. If you want to add the item as a new item on the menu bar, ensure that you position the cursor within the menu bar, and to the right of the current right-most menu item on the bar. If you want a new menu item to be added to the list of items owned by an existing item on the menu bar, ensure that you position the cursor on top of the item on the menu bar to which you want to add the new item. If you want to add a new menu item such that it is owned by an existing item in a menu list, you must first add it to the list (as just described), and then use the structure chart to change its owner.
By manipulating the structure chart, you can change the owner of objects, although operations that attempt to violate the ownership rules are rejected. A common requirement is to change the owner of a menu item which is currently owned by a menu item on the bar, such that it is owned by some other member of the list of items. You would need to do this if you want a menu item to "cascade" out to another list of menu items, and it can be performed only by using the structure chart. Select the menu bar item. The menu item list that it owns is displayed. The icon in the structure chart that represents the menu bar item is displayed with eight small selection handles. Then, using the structure chart, click on the icon that represents the menu item which you want to be a member of the "cascade" list from another menu item, hold down the mouse button and move the icon to the right of the icon representing the cascade item and release the mouse button. The icon moves to indicate that the menu item it is now owned by the cascade menu item.
Another common requirement is to move a form field object from being owned by one frame to being owned by another or, move a form field from one form to another. The procedure is the same. Select the form field object (either in the layout or in the structure chart itself), and move its icon from its current location to the right of the icon which represents its new owner. Note that objects can move within the layout when such operations are performed as the objects must be positioned within the dimensions of their new owners. If the new owner wholly contains the old owner (e.g. a form which owns a frame), then the object retains its current position.