# Adding a Folder

> Source: https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/folder

A Folder control can be added to any row on the Main panel, ***except*** on a row containing a Key field. If no *Folder Location* is specified, the Folder control will be added to the bottom of the Main panel.

***To add a Folder control:***

|  |  |
| --- | --- |
| 1\. | Select the **[Folder](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/folder#folderchbx)** check box. |
| 2\. | Click the **[Folder Options](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/folder#folderoptions)** button (beside the *Folder* check box) to specify the Folder properties (folder height, tab placement, tab width/height, etc.). |
| 3\. | Click the **[Maintain Folder Tabs](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/folder#foldertabs)** button to add the Folder tabs. |
| 4\. | To specify the Folder location on the Main panel, right click on a row and select the **[Folder Location](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/field-layout#folderloc)** option from the popup menu. The row displays the text *\* Folder Location \**, and the row size changes to a *Full* section if it was not a *Full* section before (i.e. *Half*, *Third*, *Quarter* or *Flex*). If the row contains data dictionary fields, the field(s) will be returned to the *Fields* list box. If the row contains object controls, a message will display prior to removing the object(s).  <br>  <br>*(Support to automatically format the row as a Full section when specifying the Folder location was added in PxPlus 2025.)* |

|  |  |
| --- | --- |
| ![](https://manual.pvxplus.com/migration-assets/0dcb167e2cac54cb132d7b81beb0aae492117bc0ba5a77e37f3722d3703a6c5b.jpg)  <br>***With Folder Location specified*** | ![](https://manual.pvxplus.com/migration-assets/e5d31b187a8aee50f160c381e2b92279e2d8f0ad1dcc9a230ee4ee54710103c1.png)  <br>***Preview of NOMADS panel*** |

If no *Folder Location* is specified, the Folder control will be added to the bottom of the Main panel:

|  |  |
| --- | --- |
| ![](https://manual.pvxplus.com/migration-assets/c2564ff13e4ddcdd4932e9c33759c5a15c13cac5a479492ca47a1ed08aca4e20.jpg)  <br>***Without Folder Location specified*** | ![](https://manual.pvxplus.com/migration-assets/f6eb04a8b14832f591bd9ccdf4003aa21ab1e23e4bd6065662b2b270f1e76321.png)  <br>***Preview of NOMADS panel*** |

This table describes the options that are used to add a Folder control:

|  |  |
| --- | --- |
| *Folder* | Select this check box to set up Folder sub-panels.<br>For information about folders in NOMADS panels, see **[NOMADS Folder Controls](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/overview)**.<br>For information about folders in Webster+ HTML pages, see **[Webster+ Folders/Tabs](https://manual.pvxplus.com/webster/webster-folders-tabs)**. |
| *(Folder Options)* | ***(Available when Folder check box is selected)***<br>Button (beside the *Folder* check box) that launches the **Folder Options** window for specifying Folder properties.<br>When only *HTML Page* is selected as the **[Form Type](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/object-definition#formtype)** in **Step 1: Definition**, the options that are not applicable are not displayed, as shown in the second screen shot:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| ![](https://manual.pvxplus.com/migration-assets/7216c7b017cd92859d260f28a0661946af0b095d3ee8be2fb9925530f1b9f0d1.jpg) \| ![](https://manual.pvxplus.com/migration-assets/09f4919e69c0cded907d48ac5d97091cd3a9c609eb0c73285e326e5917fad2ba.png)  <br>***When only "HTML Page" is selected*** \|<br>This window consists of the following:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| **Folder Options** \| *Tab Position*<br>Tabs placement. Click the drop-down arrow for a list of selections to indicate where the folder tabs will be drawn on the folder region: *Top **(Default)**, Bottom, Left Sidebar, Right Sidebar* and *Web (Top)*. The *Bottom* and *Right Sidebar* options do not apply to HTML pages.<br>*(The Web (Top) tab position was added in PxPlus 2021.)*<br>*Tab Width*<br>***(Applicable for NOMADS Panels Only)***<br>Uniform width to be used for all tabs. ***Default*** is 10.<br>*Auto Advance*<br>***(Applicable for NOMADS Panels Only)***<br>Determines if focus will automatically advance to the next folder when tabbing forward from the last control on a folder. Click the drop-down arrow for a list of selections:<br>*Default*<br>Based on the **[%NOMADS'FolderAdvance](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#folderadvance)** setting.<br>*Off (Advance to main panel)*<br>Tabbing from the last control on a folder will proceed to the next control after the folder on the Main panel. The current folder will not change.<br>*Advance to next folder tab*<br>Tabbing from the last control on a folder will advance to the next folder and place focus on the folder tab. If it is the last folder, then focus will advance to the next control after the folder on the Main panel.<br>*Advance to first control on next folder*<br>Tabbing from the last control on a folder will advance to the next folder and place focus on the first control. If it is the last folder, then focus will advance to the next control after the folder on the Main panel.<br>*Advance to next folder tab loop*<br>Tabbing from the last control on a folder will advance to the next folder and place focus on the folder tab. If it is the last folder, then focus will return to the first folder and place focus on the folder tab, resulting in a tab loop.<br>*(The Advance to next folder tab loop option was added in PxPlus 2021 Update 1.)*<br>*Folder Height*<br>***(Applicable for HTML Pages Only)***<br>Enter the height of the Folder control on the HTML page. Leave as *Auto **(Default)*** to have the height calculated automatically based on the controls within the Folder.<br>*(The Folder Height option was added in PxPlus 2021.)*<br>*Offset*<br>***(Applicable for NOMADS Panels Only - Available when Tab Position is Left Sidebar or Right Sidebar)***<br>Determines the distance by which the starting line of the folder tabs will be offset from the starting line of the Folder control.<br>*Tab Height*<br>***(Applicable for NOMADS Panels Only - Available when Tab Position is Left Sidebar or Right Sidebar)***<br>Height of the sidebar folder tabs. If not specified, the value of **[%NOMADS'SidebarFolderTabHeight](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#sidebartabheight)** will be used. If neither is set, the default height is 2.5 lines.<br>Note:  <br>The height of the tabs will automatically be adjusted smaller if the tabs will not fit in the allotted vertical space next to the folder.<br>*Frame Style*<br>***(Applicable for NOMADS Panels Only - Available when Tab Position is Left Sidebar or Right Sidebar)***<br>Determines the style level and bevel sizes in creating the frame. This is used if (at run time) only one sub-panel exists. Click the drop-down arrow for a list of selections: *None, 3D Frame, Recessed Frame, Raised Frame, Top/Bottom line*. \|<br>\| **Visual Class** \| ***(Applicable for NOMADS Panels Only)***<br>Assign a **[Visual Class](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/visual-classes)** to the Folder control for setting up default settings such as font, color and various attributes. \|<br>\| *OK* \| Saves any changes and closes the **Folder Options** window. \|<br>\| *Exit* \| Closes the **Folder Options** window saving any changes. \| |
| *Panel (or Current Tab)* | Indicates the current panel being defined (i.e. Main panel or a Folder tab).<br>When the *Folder* check box is selected, the fonted text changes from *Panel* to *Current Tab*, and the *Maintain Folder Tabs* button next to the drop box is enabled.<br>New tabs can be added either by typing the new tab name in the drop box and then pressing Enter or by clicking the *Maintain Folder Tabs* button.<br>Use the *Current Tab* drop box to view a list of the tabs created (if applicable) and to select the tab or Main panel for which the field layout will be defined. |
| *(Maintain Folder Tabs)* | ***(Available when Folder check box is selected)***<br>Button (next to the *Current Tab* drop box) that launches the **File Maintenance Panel Tabs** window. This window is used to add, delete or rename folder tabs on the file maintenance panel.<br>Note:  <br>A maximum of *nine* folder tabs can be created; otherwise, a message will display. If more tabs are required, use the NOMADS Panel Designer to edit the Folder control once the file maintenance panel is generated. To edit a Folder control, see [Folder Properties](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/folder-controls/folder-properties).<br>![](https://manual.pvxplus.com/migration-assets/03d0ebda0ce176b701561e27faedb50c7e8b95d1cf338e365ee9159802d0e0e0.png)<br>This window consists of the following:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *New Tab* \| Enter the name for the new tab. The new tab is added to the list of tabs. \|<br>\| *(List Box)* \| Lists the tabs in the order of appearance on the file maintenance panel. \|<br>\| *Up/Down* \| Changes the order of the tabs on the file maintenance panel. \|<br>\| *Rename* \| Launches a separate window for changing the name of a selected tab. \|<br>\| *Delete* \| Removes the selected tab and all of its contents. Prior to deleting the tab, a message will display. \|<br>*(The Rename button was added in PxPlus 2021.)* |
