Containers allow you to insert one or more form(s) into a form. Three types of containers are available:
- Tabpanel – Allows the insertion of two or more forms with visible tabs enabling users to switch from one form to another.
- Tabless panel – Allows the insertion of two or more forms for which switching is done programatically. Tabless panels are often used for nested forms.
- Split Pane – Only two forms can be inserted, and these are separated by a horizontal or vertical divider.
Containers can be added to a form using the Place Elements Wizards toolbar, the Palette, or the Solution Explorer.
Inserting a Container Using the Place Elements Toolbar
- Click on the appropriate container icon (split pane or tabpanel) on the toolbar.
- Select the form(s) you would like to insert from the tree list that appears.
- Move the container to your desired position on the form.
Inserting a Container from the Palette
- Click on the appropriate container icon (split pane, tabpanel, or tabless panel) in the Containers drawer of the Palette.
- Drag-drop or click-drop the container into your desired location on the Editor Area.
- When you are ready, add a form to the container by either:
- Clicking on the corresponding container type in the Place Elements Toolbar and using the wizard to add a form.
- Selecting a form from the Solution Explorer and dragging it into the existing container.
Placing a Form As a Tabpanel from Solution Explorer
- Select a form from Solution Explorer that you wish to place into a container into the active form.
- Drag-drop the selected form into the active form. A tabpanel containing the form will be created in the active form.