# Adding and Modifying Sub-Panels

> Source: https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/adding-and-modifying-sub-panels

## Tabs Definition

Once the *Folder* control is created, you can change property settings to assign new sub-panels or to change various aspects of the control.

The **[Tabs Definition](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/folder-properties#tabsdef)** grid on the **Tabs/Folder Properties** dialogue is used to add, remove or modify the sub-panels in your folder control.

![](https://manual.pvxplus.com/migration-assets/076c58f0b64727ca0357a9b440b9f9444446ad66ad0cf0ecb7c25dcbeebd2d62.png)

The seven basic steps required for defining tab information for each sub-panel are:

| **Step** | **Description** |
| --- | --- |
| **Step 1: Name** | In the **Tabs Definition** grid, type a panel *Name* or click the drop-down arrow to retrieve a list of available panels for the current library.<br>Note:  <br>When defining [Tabless Folders](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/tabless-folders), it is only necessary to assign values to the Name column. |
| **Step 2: Title Format** | Select a *Title Format* from the drop-down list of selections: *Fixed, Expr, Msg*. Default is *Fixed*. |
| **Step 3: Title** | Enter the text for the *Title* that will appear in the tab.<br>If the *Title Format* selected is *Expr* (Expression), the value entered must be a string variable or text surrounded by quotes.<br>If the *Title Format* selected is *Msg* (Message Library Reference), you need to assign the message key, along with optional message arguments.<br>Click the *magnifying glass* button to invoke the **[Message Library Reference](https://manual.pvxplus.com/nomads-graphical-application/message-library-maintenance/message-library-reference)** dialogue and select an entry from an existing message file. |
| **Step 4: *Suppress if not found* Option** | To suppress the drawing of a folder, select the *Suppress if not found* check box. See **[Auto Detection of Folder Tabs](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/auto-detection-of-folder-tabs)**. |
| **Step 5: Bitmap** | To add a bitmap or an image to a tab, click the *magnifying glass* button to invoke the **Bitmaps** dialogue for specifying the bitmap or image to use.<br>Note:  <br>Left (Rotated) and Right (Rotated)  [Tab Positions](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/folder-properties#position) do *not* support bitmaps and images. |
| **Step 6: Fill Pattern** | Select a *Fill Pattern* to be used. This is the direction in which the fill colors will be applied to the tab. Click the drop-down arrow for a list of selections.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Full* \| Tab is filled with one fill color. \|<br>\| *T/B* \| Top to bottom. \|<br>\| *L/R* \| Left to right. \|<br>\| *Lines* \| Use straight lines to fill the region. The first fill color is the background. The second fill color is applied to the lines. \|<br>\| *TL/BR* \| Top-left to bottom-right. \|<br>\| *BL/TR* \| Bottom-left to top-right. \|<br>\| *Diag* \| Use diagonal lines to fill the region. The first fill color is the background. The second fill color is applied to the lines. \| |
| **Step 7: Fill Color** | Select the *Fill Color* for the tab. Click the Query button to access **[Color Selections](https://manual.pvxplus.com/nomads-graphical-application/appendix/color-selections)**. Valid formats for color selections include predefined system colors (e.g. Light Red), Custom (RGB codes), HTML Hex Color Codes, User Defined colors (e.g. Color17) and string Expressions.<br>Two colors are required for gradient filling. The first color is the starting color, and the second color is the ending color. Only one color is necessary if the *Fill Pattern* selected is *Full*.<br>Color settings for individual tabs will override normal tab colors set in **[%NOMADS Properties](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#properties_list)** (i.e. %NOMADS'Tab_Folder_Colors$), as well as **[Themes](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes)** and **[Visual Classes](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/visual-classes)** (i.e. Background Color or Tab Color and Tab Color 2).<br>*(The Color Selections dialog was added in PxPlus 2020.)* |
|  |  |
| *Insert* | Inserts a blank row in the **Tabs Definition** grid for adding a new tab. Defaults are set for the *Title Format, Fill Pattern* and *Fill Color*.<br>Also available from the popup menu when right clicking on the *Name* column in the **Tabs Definition** grid. |
| *Delete* | Removes the selected tab definition. Multiple tab definitions can be removed by highlighting the tabs in the grid and clicking the *Delete* button.<br>Also available from the popup menu when right clicking on the *Name* column in the **Tabs Definition** grid. |
| *Up  <br>Down* | Changes the order of the tabs on the panel. |
| *Panel* | Launches the panel that corresponds to the folder tab currently selected in the **Tabs Definition** grid. The panel is launched in a separate NOMADS Panel Designer session to allow any changes to be made if needed.<br>Also available from the popup menu when right clicking on the *Name* column in the **Tabs Definition** grid.<br>*(The Panel button was added in PxPlus 2020.)* |

## See Also

For information on the *Execute Pre-Disp One Time* and *Execute Post-Disp One Time* options, see **[Preserve Controls](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/preserve-controls)**.

For information on the Security settings for tabs/folders, see **[Tabs/Folders - Viewing Security Settings](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/security-manager/restricting-access#tabsfolders)**.

For other attributes that can be defined for a folder control, see **[Auto Detection of Folder Tabs](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/auto-detection-of-folder-tabs)** and **[Tabless Folders](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/tabless-folders)**.

Note:  
NOMADS may produce an error message when attempting to create a folder control that is not large enough to fit an associated sub-panel. See [Folder Size Errors](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/folder-size-errors).
