Once you have created a new prototype, you can add items to it. Some items get added to the Structure tree while some others are added in the Composer.
| Items added to the structure tree | Items added to the composer |
|---|---|
| Add a form | Add a control or an addon |
| Add a menu bar and menus | Add a card to a card panel |
| Add a toolbar and buttons | Add a tab to a tabbed pane |
| Add a border | |
| Add an event listener |
![]() |
Select the item Forms in the tree
|
![]() |
The Forms elevator tab displays in Palette Let's add a Dialog box. Select the form in the palette.
Follow steps |
![]() |
It gets added to the tree as a child item of
Forms.
|
![]() |
Select a
frame or
dialog box in the tree (Note: Menu bar cannot be added to an
Option Pane, a File Chooser or a Color Chooser)
|
![]() |
The Controls elevator tab displays in Palette Select the control Menu Bar
|
![]() |
It gets added to the tree as a child item of
Frame (Prototype Title).
|
![]() |
When
menu bar is selected in the tree, the Menus elevator tab displays in
Palette.Select the palette item Menu (Note: All items except Menu are dimmed because only a Menu can be added to a Menu bar)
|
![]() |
It gets added to the tree as a child item of
Menu Bar.
|
![]() |
When
menu is selected in the tree, the Menus elevator tab displays in
Palette
Select the palette item Menu Item (Note: Radio Button Menu Item is dimmed because it can only be added to a Button Group)
|
![]() |
It gets added to the tree as a child item of
Menu.
Follow steps |
![]() |
To add a radio button menu item, you need to
first add a button group. When Select the palette item Radio Button Menu Item (Note: Only Radio Button Menu Item and Separator can be added to a Button Group)
|
![]() |
It gets added to the tree as a child item of
Button Group.
|
![]() |
Select a
frame or
dialog box in the tree or a
panel. (Note: Toolbars cannot be added to an
Option Pane, a File Chooser or a Color Chooser)The Controls elevator tab displays in Palette Select the control Horizontal Toolbar Drag and drop to the composer
|
![]() |
It gets added to the tree as a child item of Panel. When Select the palette item Button (Note: Toggle Button is dimmed because it can only be added to a Button Group)
|
![]() |
It gets added to the tree as a child item of Toolbar and
also in the composer.
|
![]() |
To add a toggle button, you need to
first add a button group to the toolbar. When Select the palette item Toggle Button (Note: Only Toggle Button and Separator can be added to a Button Group) It gets added to the tree as a child item of Button Group and also in the composer.
|
![]() |
In our example, we will first add a border to the toolbar.
(How to add a toolbar)
Select Toolbar in the tree. Select the Borders elevator tab in Palette Select the palette item Line Border
|
![]() |
It gets added to the tree as a child item of Toolbar. When
|
![]() |
Now we will add an empty border and titled border to the
panel. Select Panel in the tree. Select the Borders elevator tab in Palette Select the palette item Compound Border
|
![]() |
It gets added to the tree as a child item of Panel. When But if you select the item Compound Border in the tree, the Borders elevator tab displays again.
|
![]() |
Select the palette item Empty Border. It gets added to the tree as a child item of
Compound Border.
Select the item Compound Border again in the tree. The Borders elevator tab displays again. Select the palette item Titled Border. It gets added to the tree as a child item of Compound Border. When
|
![]() |
In our example, we add an event listener to the Frame.
Select the item Frame in the tree (Prototype Title) Select the Events elevator tab in Palette
|
![]() |
Select the palette item On Component It gets added to the tree as a child item of Frame.When
|
![]() |
Select the newly add event listener The property panel shows the properties that can be set on this event listener.
|
When working with nested containers, it is sometimes difficult to select the container to which you want to add the control or the addon. You must first select the desired container before selecting the control or addon you want to add.
![]() |
Select a
frame or
dialog box in the tree or a
panel. (Note: Controls and addons cannot be added to an
Option Pane, a File Chooser or a Color Chooser)The Controls elevator tab displays in Palette In our example, we will add a Button Select the palette item Button
|
![]() |
Drag and drop to the composer
|
![]() |
It gets added to the tree as a child item of Panel.
|
![]() |
Add a card panel to the composer (see How to add a control to the composer) |
Select
|
|
You see the contour of the card panel with a yellow arrow
on the top right corner. When you click the arrow, a popup menu displays.
Select 'Add a Card'.
|
|
| It gets added to the tree as a child item of Card Panel.
|
![]() |
Add a tabbed pane to the composer (see How to add a control to the composer) |
Select
|
|
You see the contour of the tabbed pane a yellow arrow
on the top right corner. When you click the arrow, a popup menu displays.
Select 'Add a Tab panel'.
|
|
| It gets added to the tree as a child item of Tabbed Pane.
|