GUI Classes HierarchyThere are restrictions as to what sort of object each new object can belong to. For example, a button can only belong to a Menu, a Popup, a Dialog or a Bulletin. The following tables list each container object and their valid children: Panel - valid children
Note: Only one child of each object class is allowed except for Toolbar (2) and Dialog (N) Menubar and Toolbar - valid children
Menu and Popup - valid children
Bulletin and Dialog - valid children
Note: A Dialog parent allows only one of each object class except Button (N). To add more objects to a dialog, add a Bulletin object or set XuNguiDialogType to "bulletinBoard''. When a Menubar is added to a dialog, it can only be a child of the Dialog class, not a Bulletin class child. Carry on to A simple example |
||||||||||||||||||||||||||||||||||||||||||||||||||||||