Using the Tab control, you can create and add tabbed containers to a harness. Each tab contains a section that is configured with a tabbed header. When an application user clicks a tab in a container group, the section becomes visible and the other open section closes.
Configure styles for tabs using the Skin rule. See Skin form — Components tab — Layouts — Tabs.
For information about using the Tab control in sections, see Section forms — Adding a tabbed SmartLayout.To add a tabbed container to a harness, do the following:
For an example, see PDN article 25411 How to create layouts that contain tabbed headers.
To add tabs to a container, do the following:
Make the desired tab front-most when you save the Harness, Section, or Flow Action form, as your choice determines which tab is front-most in the initial run-time presentation. You can drag and drop individual tabs to change the order.
To delete a tab, select it (make it active) and click the Delete Cell icon. Do not use the Delete Row button. If this is the only tab in a group, the entire layout or container is deleted.
Do not change the Header Type (Tabbed
).
A single cell appears to the right of the Title value in which you can add a label. Optionally, you can add a control from the Basic control group to this cell. For example, the cell can contain a label, a property value presented as a text box or even a select control.
To include a control in the cell, complete the Container panel first as described above. Save the form. Then select, drag, and drop a basic control from the Basic group, as is normally done within a layout. Open the Cell Properties panel and configure the control. Non-autogenerated controls are always read-only, but auto-generated controls can be edited.