# Library Defaults

> Source: https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults

**Library Defaults** is used to set design defaults for panels and objects in the *current library*. These defaults may be overridden at any time during the design process for a specific object (e.g. within the **[Panel Designer](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/introduction)**).

To set defaults that will be applied to *all new libraries*, change the settings under **[System Defaults](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/system-defaults)**.

The NOMADS **[Custom Title Bar](https://manual.pvxplus.com/nomads-graphical-application/custom-title-bars)** feature allows you to design your own title bar to customize the look and feel of your application. A *TitleBar Option* is available on the **TitleBar** tab in the **[Panel Header](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/panel-header/overview#titlebar)** and in **[Library Defaults](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults#titlebar)**. In addition, a custom title bar can be applied system wide by defining the **[%NOMADS'TitleBar$](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#titlebar)** property. See **[Assigning Custom Title Bars](https://manual.pvxplus.com/nomads-graphical-application/custom-title-bars#assigning)**.

*(The Custom Title Bar feature was added in PxPlus 2017.)*

The **[Library Bulk Edit and Search Utility](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-bulk-edit)** makes it easy to apply changes to a single library or multiple libraries within a specified directory. This utility provides a convenient way to standardize the appearance of panel headers and panel controls over an entire library.

*(The Library Bulk Edit Utility was added in PxPlus 2017 and renamed to Library Bulk Edit and Search in PxPlus 2023 Update 1.)*

To invoke the **Library Defaults** window, in **[Library Object Selection](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/library-object-selection/overview)**, click the *Defaults* toolbar button or select *Library > Library Defaults* from the menu bar.

![](https://manual.pvxplus.com/migration-assets/2d197c3059c7b094b5f2640e7b40c485216962b583892f6442e864a4e57c83cb.jpg)

This window is divided into the following tabbed panels for viewing and/or changing Library Default settings: **[Setup](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults#setup)**, **[Display](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults#display)**, **[Font/Color](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults#fonttab)**, **[User Aid](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults#useraid)** and **[TitleBar](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-defaults#titlebar)**.

*(The Display and TitleBar tabs were added in PxPlus 2017.)  
(The Setup tab was added in PxPlus 2019.)*

|  |  |
| --- | --- |
| *Library* | Displays the path and name of the current library. |
| *Description* | A free-form description to identify the library. |
| **Setup** |  |
| **Library Information** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Message Lib* \| Message Library to use when processing this library. Enter the name or click the Find Message Library button to select. If the file does not exist, you will be prompted to create the file. \|<br>\| *Directory* \| Default directory to use when processing an object. Enter the name or click the Get Directory button to select. Before processing an object, NOMADS changes to the directory defined in this field. When the object is closed, NOMADS switches back to your home working directory. \|<br>\| *Prefix* \| Prefix to use when processing an object. Before processing an object, NOMADS changes the PxPlus **PREFIX** to the one defined in this field. When the object is closed, NOMADS changes back to the original **PREFIX**. \|<br>\| *User Tag Field* \| This user-defined field can be used to pass along information for such things as formatting, error messages, and validation rules. NOMADS places the contents of this field in a variable using the control name with a **.tag$** extension. Unlike the other library defaults, this field is simply a self-documenting description text and is not passed on to controls in the library. \| |
| **Library Object Selection Display** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Save Sort Settings for this Library on Exit* \| Select this check box to save the sort order for the list of objects in the current library when Library Object Selection is exited. The next time Library Object Selection is invoked for the same library, this sort order is retained. By default, this check box is not selected. \|<br>*(The Save Sort Settings for this Library on Exit option was added in PxPlus 2023.)* |
| **Display** |  |
| **Visual Effects** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Display* \| Sets the corresponding PxPlus mnemonic for visual mode.<br>Click the drop down arrow for a list of selections: *Default, 2D Effect, 3D Effect, 4D Effect*. If not previously set, this will default to *4D Effect*. Settings ***cannot*** be overridden during the design process if set.<br>Note:  <br>To take full advantage of NOMADS and the new visual enhancements, 4D mode is required.<br>*Default*<br>Assumes the currently set mnemonic in PxPlus.<br>*2D Effect*<br>Two-dimensional look will be applied.<br>*3D Effect*<br>Three-dimensional look will be applied.<br>*4D Effect*<br>Four-dimensional look will be applied. \|<br>*(Support to default the Display option to "4D Effect" was added in PxPlus 2024.)* |
| **Background Image** | ***(NOMADS Only)***<br>Bitmap image that displays in the background for objects in the current library. Enter the name of the image or click the Bitmap Library button to select an image. |
| **Alignment** | Alignment options for the background image. Available selections are *Top Left*, *Centered*, *Tiled*, *Scaled*. |
| **Attributes** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Full Screen Drag* \| ***(Applicable to "Dialogue" Panels)***<br>If selected, a panel can be moved by clicking anywhere on the panel *outside of the controls* (as well as on the title bar) and dragging the panel to the desired location.<br>This setting overrides the **[%NOMADS'Full_Screen_Drag](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#fullscreendrag)** property; however, it is overridden by the *Full Screen Drag* setting in the **[Panel Header](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/panel-header/overview)**.<br>Available selections are *Default*, *Always on*, *Always off*:<br>*Default*<br>Use the setting in %NOMADS'Full_Screen_Drag.<br>*Always on*<br>The Library default is to turn on the *Full Screen Drag* feature (overrides the default set in %NOMADS'Full_Screen_Drag).<br>*Always off*<br>The Library default is to turn off the *Full Screen Drag* feature (overrides the default set in %NOMADS'Full_Screen_Drag).<br>Note:  <br>Full Screen Drag is *not* compatible with Size Adjustment. \|<br>*(Full Screen Drag support in Library Defaults was added in PxPlus 2017.)* |
| **Font/Color** |  |
| **Font Specification** | Default font for all objects in the current library.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Font* \| Click the drop-down arrow for a list of available fonts. \<Default Graphic Font> indicates use of the graphic font defined via the PxPlus INI file or **'[GF](https://manual.pvxplus.com/mnemonics/gf)'** mnemonic. \|<br>\| *Size* \| Click the drop-down arrow for a list of available sizes (specific to the selected Font). \|<br>\| *Alignment* \| Alignment for Fonted Text objects in the current library. Selections are *Left Justify, Centre, Right Justify.* \|<br>\| *Word Wrap* \| Wraps text within the margins. \|<br>Note:  <br>Alignment, Word Wrap and Attributes such as Bold, Italics, Underline All Characters and Underline &'d Characters will apply to text in subordinate hierarchical levels that are currently defined with default settings (i.e. Left Justify, no Word Wrap and ANSI Characters). |
| **Attributes** | Check boxes for various font attributes for text objects in the current library, including *Bold*, *Italics*, *Underline All Characters* and the following:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Underline &'d Chars* \| Underlines the first character after the **&** *(ampersand)* when displaying hot keys for text controls. \|<br>\| *ANSI Characters* \| Prevents use of other character sets such as *Wingdings*. \| |
| **Color** | ***(NOMADS Only)***<br>Default colors for all text regions for all objects within the current library.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Foreground  <br>Background* \| 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>*(The Color Selections Query button and dialog were added in PxPlus 2020.)* |
| **Menu Color** | ***(NOMADS Only)***<br>Define menu colors to be used in the library. See **[Menu Colors](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/menu-bar/menu-colors)** to determine how to define colors and how the various colors are applied at run time.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Background* \| Applies a background color to the menu. 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>\| *Edge* \| Applies a background color to the left edge portion of the menu. 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>\| *Text* \| Applies a text color to the menu items. 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>\| *Apply Menu Colors to Top Menu* \| Option that is used to apply the *Text* and *Background* menu colors to the top level of the menu bar. Available selections are *Default*, *Yes*, *No*:<br>*Default*<br>Use the system default setting.<br>*Yes*<br>Apply the colors to the top menu levels.<br>*No*<br>Do not apply the colors to the top menu levels. \|<br>*(The renaming of the options "Item Color" to "Background" and "Edge Color" to "Edge" was added in PxPlus 2024.)  <br>(The "Text" and "Apply Menu Colors to Top Menu" options were added in PxPlus 2024.)* |
| **Theme** | Assign a Theme to be applied to all panels in the current library. The Theme can be defined as a *Fixed* value or string *Expression*.<br>Click the Theme Maintenance button to launch the **[Themes Maintenance](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes#themesutil)** utility for creating and editing Themes.<br>Click the drop down arrow to select an existing Theme. Theme names that begin with an "**\***" (*asterisk*) are predefined Themes used by PVX Plus and may be subject to change without notice.<br>Note:  <br>A Theme applied at the Library level overrides the General level Theme set in [%NOMADS'Theme$](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#theme).  <br>  <br>A Theme assigned to the [%NOMADS'ThemeOverride$](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#themeoverride) property overrides all other Theme settings but does not override the NOMADS [Toolkit Theme](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/system-defaults#Mark4). See [Applying a Theme to Your Application](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes#applyingtheme).<br>*(Theme support was added in PxPlus 2017.)  <br>(The Theme Maintenance button was added in PxPlus 2019.)  <br>(The ability to select a predefined PxPlus Theme was added in PxPlus 2024.)* |
| **User Aid** |  |
| **Help Reference** | NOMADS panels have built-in functionality that allows the user to get help via **Shift - F1** while focus is on a control.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Type* \| Available selections are *External* and *Internal*:<br>*External*<br>Standard windows Help system consisting of a Help file name (*.html, .hlp, .doc,* etc.) and an optional keyword or reference number (fixed value or expression). Select *Popup* to display Help as a popup instead of an independent window.<br>*Internal*<br>Application supplied message text. This may be a fixed value, string expression or message library reference (pulled from a message library file rather than hard-coded). \|<br>\| *Test* \| Button used for testing the current Help settings. \| |
| **TitleBar** |  |
| **TitleBar Option** | ***(NOMADS Only)***<br>Set the default *TitleBar* option for the library. See **[Custom Title Bars](https://manual.pvxplus.com/nomads-graphical-application/custom-title-bars)**.<br>Available selections are *Default*, *TitleBar* and *None*:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Default* \| Use the current default Title Bar setting for the library panels. \|<br>\| *TitleBar* \| Use the panel defined in Panel Information as the default Title Bar for the library. \|<br>\| *None* \| The Library default is to ***not use*** a Title Bar on the library panels. \|<br>Note:  <br>The TitleBar and None settings override the system-wide setting in [%NOMADS'TitleBar$](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#titlebar).<br>*(TitleBar support was added in PxPlus 2017.)* |
| **Panel Information** | ***(Available when TitleBar Option is TitleBar)***<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Fixed **or** Expression* \| The Custom Title Bar panel information can be entered as a *Fixed* value or as an *Expression*:<br>If *Fixed*, enter the *Library* and *Panel* information (explained below). If the information is an expression, select *Expression* from the drop-down list and enter an expression that can be evaluated to a value consisting of the panel name and library, separated by a comma; e.g. *PanelName,LibraryName*. \|<br>\| *Library* \| Enter the path to the library containing the Title Bar panel definition. Click the drop-down arrow to invoke a list of recently used libraries. Click the Browse button to look through the directory structure to find the library. Be sure to use the simplest form of the path for your application.<br>Note:  <br>The Library name may be a specific or generic reference. See [Cascading Language Suffixes](https://manual.pvxplus.com/nomads-graphical-application/multilingual-capabilities/cascading-language-suffixes/overview). \|<br>\| *Panel* \| Name of the panel definition to use as the Title Bar for the panel. Click the drop-down arrow to invoke a list of all panels in the library. \| |
|  |  |
| **Notes** | Add notes/comments about the library. Maximum 1024 characters. |

## See Also

**[Panel Bulk Edit Utility](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/options-and-utilities/bulk-edit-utility)**  
**[Library Bulk Edit and Search Utility](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/library-bulk-edit)**
