# 'OPTION' On-the-Fly Setting

> Source: https://manual.pvxplus.com/mnemonics/option

**Behaviour**

## Format

**'OPTION' (*keyword$,value***\[*$*\]**)**

***Where:***

|  |  |
| --- | --- |
| *keyword$* | Named property. Case insensitive string expression (characteristic, icon, font, colour index) described below. |
| *value*\[*$*\] | Value assigned to *keyword$*. String or numeric expression. (The numeric option was added in PxPlus v11.) |

## Description

The **'OPTION'** mnemonic allows specific PxPlus environment properties (typically set via INI entries) to be set at run time (on the fly) within a session.

Note:  
To read the 'OPTION' PxPlus environment properties, use FIN(0, keyword$).

| **Item Colors**  <br>  <br>The following *keyword$* values assign colors to specific characteristics: |  |
| --- | --- |
| **BtnFaceClr** | Button face color. |
| **BtnFocusHilight** | Focus highlight. |
| **BtnFrameClr** | Button/Check Box/Radio Button frame color. |
| **BtnHoverHilight** | Mouse Over highlight. |
| **CbxMarkClr** | Check mark or 'X' in a Check Box. |
| **ClrHighlight  <br>ClrHighlightText** | Sets the background and text colors used to display currently selected items from a List Box or Drop Box and display the background and text in a Multi-Line when it has focus.<br>If setting focus on the Multi-Line, selects all of the text.<br>If selecting a portion of the inputted text for Copy, Cut, Delete or Paste functions, then the color of the selected text will be displayed in the standard Windows color for selected text.<br>*(added in PxPlus 2017)* |
| **ClrPlusZ_SB_Back** | Background for any 'SB' data. (*Default:* Light Gray button face color)<br>*(added in PxPlus 2022 Update 1)* |
| **ClrPlusZ_SF_Back** | Background for any 'SF' data. (*Default:* White)<br>*(added in PxPlus 2022 Update 1)* |
| **ClrPlusZ_Text** | Text (*Default:* Black)<br>*(added in PxPlus 2022 Update 1)* |
| **ClrToolBar** | Background color for the tool bar.<br>*(added in PxPlus v9)* |
| **DrpBtnBackClr** | Background color of the Drop Box button.<br>*(added in PxPlus 2024)* |
| **DrpBtnDisableBackClr** | Background color of the Drop Box button when the Drop Box is disabled.<br>*(added in PxPlus 2024)* |
| **DrpBtnHoverBackClr** | Background color of the Drop Box button while hovering over it. Defaults to the Windows hover color if no drop button colors are set; otherwise, it defaults to the drop button background color but is 25% lighter.<br>*(added in PxPlus 2024)* |
| **DrpBtnHoverTickClr** | Color of the down arrow/tick on the Drop Box button while hovering over it. Defaults to the Windows tick color if no drop button colors are set; otherwise, it defaults to the drop button tick color but is 25% lighter.<br>*(added in PxPlus 2024)* |
| **DrpBtnTickClr** | Color of the down arrow/tick on the Drop Box button.<br>*(added in PxPlus 2024)* |
| **FrameDarkClr** | Color of shadow line drawn by **['FRAME'](https://manual.pvxplus.com/mnemonics/frame)** mnemonic. (*Default*: Dark Gray)<br>*(added in PxPlus v11)* |
| **FrameLiteClr** | Color of highlight line drawn by **['FRAME'](https://manual.pvxplus.com/mnemonics/frame)** mnemonic. (*Default*: Light Gray)<br>*(added in PxPlus v11)* |
| **FrameTextClr** | Color of text header used by the **['FRAME'](https://manual.pvxplus.com/mnemonics/frame)** mnemonic.<br>*(added in PxPlus v11)* |
| **RbtMarkClr** | Ball within a Radio Button. |
| **StdFocusBackClr** | Sets the background colors used to display currently selected items from a List Box or Drop Box and display the background color in a Multi-Line when the control has focus.<br>*(added in PxPlus 2018)* |
| **StdFocusTextClr** | Sets the text colors used to display currently selected items from a List Box or Drop Box and display the text in a Multi-Line when the control has focus.<br>*(added in PxPlus 2018)* |
| **StdGridLineClr** | Sets the standard/default line color for all subsequent grids. (*Default* is RGB: 220,220,220.)<br>*(added in PxPlus 2020)* |
| **StdLvueHotlinkClr** | ***(Report View Only)*** Used to define the default hotlink column color for List Views.<br>*(added in PxPlus 2018)* |
| **StdLvueHoverBackClr** | ***(Report View Only)*** Used to specify a system-wide background hover color for all List Views.<br>*(added in PxPlus 2018)* |
| **StdLvueHoverTextClr** | ***(Report View Only)*** Used to define the text color when the mouse is over a row in a List View.<br>*(added in PxPlus 2018)* |
| **StdLvueLineClr** | ***(Report View Only)*** Sets the standard/default line color for all subsequent report style List Views. (*Default* is RGB: 220,220,220.)<br>*(added in PxPlus 2020)* |
| **StdRowHilight1** | Color to be used as the background of alternate rows in a List Box or Grid.<br>*(added in PxPlus v11)* |
| **StdRowHilight2** | Color to be used as the second background of alternate rows in a List Box or Grid.<br>*(added in PxPlus v11)* |
| **TipArrowColor** | Used by HTML tips to define the color of the tip arrowhead *and* the underline below the tip title. (*Default:* Dark Red)<br>For information on HTML tips, see **[Defining an Info Tip](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/defining-an-info-tip)**.<br>*(added in PxPlus 2016)* |
| **TipColor**   <br>  <br>*or* **TipColour** | Used to define the color for non-HTML tips. Valid formats for defining a color include predefined system color names (e.g. LightRed), RGB values, HSL values, Hex color codes, color blending, and dynamic color lightening. For information on these formats, see **[Color Properties](https://manual.pvxplus.com/control-object-properties/colour-properties)**.<br>Setting this option sets the **['TC'](https://manual.pvxplus.com/parameters/tc)** system parameter to -3.<br>If 'TC' is set to -3 but the **TipColor** (or **TipColour**) setting is not defined, the default Windows color will be used.<br>*(added in PxPlus 2021)* |
| The *value$* may be assigned as color names.<br>\|  \|<br>\| --- \|<br>\| Black<br>White<br>DarkGray<br>LightGray<br>LightRed<br>LightMagenta<br>DarkRed<br>DarkMagenta<br>LightGreen<br>LightCyan<br>DarkGreen<br>DarkCyan<br>LightBlue<br>LightYellow<br>DarkBlue<br>DarkYellow \|<br>\| or via RGB code (i.e. RGB: *n* *n n **where** n =* 0 - 255) as in:  <br>  <br>print (0)'option'("BtnNormMidClr","RGB:192,192,192"), \| |  |
| **Item Shading**   <br>  <br>The following *keyword$* values set shading for specific characteristics: |  |
| **BtnDownBtmClr** | Colour for blend at the bottom of pushed button. |
| **BtnDownBtmPct** | Lightness applied to face at the bottom of pushed button. |
| **BtnDownMidClr** | Colour for blend at in middle of pushed button. |
| **BtnDownMiddle** | Mid-point percentage from the top of pushed button. |
| **BtnDownMidPct** | Lightness applied to face in middle of pushed button. |
| **BtnDownTopClr** | Colour for blend at the top of pushed button. |
| **BtnDownTopPct** | Lightness applied to face at the top of pushed button. |
| **BtnNormBtmClr** | Colour for blend at the bottom of normal button. |
| **BtnNormBtmPct** | Lightness applied to face at the bottom of normal button. |
| **BtnNormMidClr** | Colour for blend at in middle of normal button. |
| **BtnNormMiddle** | Mid-point percentage from the top of normal button. |
| **BtnNormMidPct** | Lightness applied to face in middle of normal button. |
| **BtnNormTopClr** | Colour for blend at the top of normal button. |
| **BtnNormTopPct** | Lightness applied to face at the top of normal button. |
| **ClrAutoCompBack** ¹ | Background colour to be used for text in auto complete List Boxes.<br>*(added in PxPlus v9.00, build 9200)* |
| **ClrAutoCompText** ¹ | Text colour to be used for text in auto complete List Boxes.<br>*(added in PxPlus v9.00, build 9200)* |
| **ClrDisabledBack** ¹ | Background colour to be used for text in disabled List Boxes, Multi-Lines, Radio Button text and Check Boxes.<br>*(added in PxPlus v9.00, build 9200)* |
| **ClrDisabledText** ¹ | Text colour to be used for text in disabled List Boxes, Multi-Lines, Radio Button text and Check Boxes.<br>*(added in PxPlus v9.00, build 9200)* |
| **CtlFrameClr** | Colour of lines in a frame. |
| The *value$* must be defined as a numeric string, either from 0 to 100 (for colour indexes) or -100 to 100 (for percentages) depending on the associated item.  <br>  <br>***Example:***<br>```<br>print (0)'option'("BtnDownBtmPct","-75")<br>``` |  |
| **Icons   <br>  <br>'OPTION'** can be used to control which icon, if any, is to be used within the upper left corner of a window/dialogue: |  |
| **Icon** | Set the icon for current and subsequent windows. |
| **WdwIcon** | Set the icon for the current window only. |
| The *value$* assigned may be the path and name of the image *.icofile* or a full icon specification. If it is null " ", the icon is removed from the current window. If it is an **\*** (*asterisk*), the default icon is displayed for the window.<br>***Example:***<br>```<br>print 'dialogue'(1,1,80,25,"My Window",'CS',opt="i")<br>print 'option'("WDWICON","C:\Windows\System32\Shell32.dll@137%32")<br>print 'option'("WDWICON","")<br>print 'option'("WDWICON","*")<br>``` |  |
| **Fonts**  <br>  <br>The following *keyword$* values can be used to change various text plane and graphic fonts: |  |
| **CB_RB_TextFont** | Controls the font to use for Radio Button and Check Box text. Setting to "1" causes the system to display text using fixed text plane font. *Default* is to use the graphical font ("0"). |
| **Font** | Sets the current window's text plane font. |
| **GraphicFont** | Sets the current window's default graphic font. |
| **StdFont** | Sets the session's default text plane font. |
| **StdGraphicFont** | Sets the session's default graphic font. If set, this must be prior to drawing any graphical user interface controls. |
| The *value$* indicates the current font specification. See ['FONT'](https://manual.pvxplus.com/mnemonics/font) mnemonic for specification. If the numeric font size specified in *value$* is negative, then it provides the logical font height, not the point size. |  |
| **Colour Index**   <br>  <br>The **'OPTION'** mnemonic can be used to manually set the colour index (Colour16 to Colour254) to specific RGB values: |  |
| **Color***nnn*   <br>  <br>*or* **Colour***nnn* | Sets color number *nnn.* |
| While the colour index allows numbers 0 - 254, the first 16 are predefined by the system (0 - 15). The remaining colours must be assigned in order without skipping (i.e. Colour16 then Colour17 then Colour18, etc.). The *value$* assigned may be any RGB code (RGB: *n* *n n **where** n =* 0 - 255); e.g. A null " ", either removes the assigned number from the table or resets it to the default colour (as predefined by PxPlus).<br>***Example:***<br>\|  \|  \|<br>\| --- \| --- \|<br>\| print 'option'("Colour64","") \| ! Clear out index 64 for re-use \|<br>\| print 'option'("Colour7","") \| ! Reset to the default \|<br>Note:  <br>It is easier to simply use the colour once with the ['COLOUR'](https://manual.pvxplus.com/mnemonics/colour) mnemonic, which automatically adds that colour to the internal colour table. |  |
| **General Windows/System-Wide Options**  <br>  <br>These options are generic to windows processing and can be applied to channel 0: |  |
| **4D_ML_Adjust** ¹ | Setting this option to a non-zero numeric value overrides the standard Multi-Line height adjustment to the value specified (in pixels).<br>Setting the value to "0" restores the standard adjustment. |
| **AlwaysOnTop** ¹ | This option is used to control locking the current window on top of all other windows.<br>If *value$* is set to "1", then the window is locked on top; else if "0", then the window is released from being locked on top.<br>Note:  <br>Only one window should be locked 'OnTop' as the system will not be able to determine which window is the top most in case the windows overlap. |
| **Animate** ¹ | Allows the application to animate the window generally during the transition from visible to hidden or vice-versa.<br>Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "FADE" 2 \| The window will fade from solid to transparent (or vice versa). \|<br>\| "UP" 2 \| The window will collapse/expand upward. \|<br>\| "DOWN" 2 \| The window will collapse/expand downward. \|<br>\| "LEFT" 2 \| The window will collapse/expand right-to-left. \|<br>\| "RIGHT" 2 \| The window will collapse/expand left-to-right. \|<br>\| "CENTER" 2 \| The window will collapse into/expand out from the center. \|<br>\| "SHAKE" \| The window will shake left-to-right but remain visible. \|<br>Note:  <br>To get the desired results, the options that affect screen movement (UP, DOWN, LEFT, RIGHT and CENTER) should be avoided when using windows that have captions and thick frames. Change the window to use either a thin frame or no frame before using these options.  <br>  <br>The FADE and SHAKE options can be used with any window, regardless of the frame style.<br>**2  These option words can be suffixed by "IN" or "OUT" (e.g. "FADEIN", "FADEOUT") to force the specified windows transition. If "IN" is specified, the window will be forced visible. If "OUT" is specified, the window will be forced hidden. Normally, if no suffix is provided (such as "FADE"), the window changes from visible to hidden or vice-versa, depending on its current state.** |
| **AutoCompleteLimit** ¹ | Sets the AutoComplete limit.<br>Issuing PRINT 'OPTION'("AutoCompleteLimit", "*nnn*") or SETDEV (0) SET "AutoCompleteLimit" TO "*nnn*" can be used to set the AutoComplete limit. |
| **AutoConvertUtf8** ¹ | Setting this option to "1" (or "Y") in conjunction with setting the **['U8'](https://manual.pvxplus.com/parameters/u8)** system parameter will internally convert UTF-8 data to its corresponding single byte character based on the current text plane character set to allow for its display. This conversion will be done on any standard PRINT to the text plane and on all user input of extended characters (e.g. accented characters, high-order ASCII, etc.).<br>Where there is no corresponding single byte character for a UTF-8 code, a **?** (*question mark*) will be output. If the 'U8' system parameter is ***not*** set, this option is ignored.<br>*(added in PxPlus 2014)* |
| **AutoSpellCheck** | This option is used to set automatic spell checking for Multi-Line controls.<br>Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "YES" \| *(Default)* Spell checking is automatically applied to Multi-Line controls that allow multiple lines of input (greater than 1.5 lines high). \|<br>\| "ALL" \| Spell checking is automatically applied to Multi-Line controls that allow multiple lines of input, as well as all Multi-Line controls that allow for 12 or more characters of input and do ***not*** have a format mask. Controls that are marked *Uppercase* only or are used for Arabic (right to left) input are ***not*** spell checked. \|<br>\| "NO" \| Spell checking is ***not*** automatically applied to Multi-Line controls. Only Multi-Line controls with the "S" option specified (see **[MULTI-LINE](https://manual.pvxplus.com/directives/multi-line#Mark4)** directive) will have spell checking enabled. \|<br>*(added in PxPlus 2019)* |
| **BlinkTime** ¹ | Controls the rate at which data will blink on a graphical device. The value provided defines the rate at which the data appears or disappears in terms of milliseconds (i.e. "500" indicated 500ms or 1/2 a second). A rate of "0" terminates blinking. *Default* rate is "500" milliseconds.<br>*(added in PxPlus v8.11, build 9182)* |
| **BrowserDebug** | Setting this option to "1", "Y" or "y" causes the browser developer console to display in a popup window for any subsequently created **[\*BROWSER](https://manual.pvxplus.com/utilities/browser)** controls. The browser developer console makes it possible to examine the code and properties of the Web page loaded by the \*BROWSER control and debug any errors.<br>*(added in PxPlus 2021)* |
| **BrowserLang** ¹ | Defines the language code that controls the embedded Chromium browser language. See **[Language Codes](https://manual.pvxplus.com/utilities/browser#Mark1)** for a list of supported languages and codes.<br>The value of **BrowserLang** is only read the first time per process that an embedded Chromium browser is created. This will override the **BrowserLang** INI setting. Defaults to user OS language unless **BrowserLang** was set in the INI file. See **[INI Contents](https://manual.pvxplus.com/pxplus-installation-and-configuration/customizing-pxplus/ini-contents#Mark6)**.<br>*(added in PxPlus 2019)* |
| **CaptureClientOnly** ¹ | Controls the SAVE CONTROL output. If set to "1", only the client area (interior) of a window/control will be saved; otherwise, the border and caption for the window/control will be included in the output. *Default* setting is ***Off*** ("0").<br>*(added in PxPlus v11.50)* |
| **CbxImage** | ***(Windows Only)*** Defines the pathname to the image used to create Check Boxes on the screen.<br>See **[Customizing Radio Buttons and Check Boxes](https://manual.pvxplus.com/appendix/customizing-rb-and-cb)**.<br>*(added in PxPlus 2017)* |
| **CbxMarkSize** | ***(Windows Only)*** If not set, the default size of the Check Box image is based on the height of one line. If set, the size of the Check Box image will be based on the value of CbxMarkSize (in pixels) ***or*** the height of the Check Box control, *whichever is smaller.*<br>***Example:***<br>![](https://manual.pvxplus.com/migration-assets/0535efaf2a8c49a9f677fa5292fa97c604b73dcb23d3e418cccb73067879220f.jpg)<br>See **[Customizing Radio Buttons and Check Boxes](https://manual.pvxplus.com/appendix/customizing-rb-and-cb)**.<br>*(added in PxPlus 2017)* |
| **CenterWdw** ¹ | Center the current window (DIALOGUE) on screen. This mnemonic takes into account multiple monitors and places the window in the center of the nearest monitor currently displaying the window. |
| **ClrSelectIgnore** | Setting this option controls the colors that are used for displaying a selected line in a list box/list view.<br>If set to "1" *(Default)*, the Windows default display colors (white characters on blue) are used.  <br>If set to "0", the colors specified for the list box/list view contents are used.<br>To set the option, issue either of the following:<br>```<br>PRINT 'OPTION'("ClrSelectIgnore","1") ! (or "0" to turn Off)<br>SETDEV (0) SET "ClrSelectIgnore" TO "1"<br>``` |
| **Copy_1Line_NoCR** ¹ | This option controls the system built-in text Copy functionality. When set to "1" or "YES" and the text being copied consists of only one line, no trailing line feed will be appended to the text. In all cases, copying multiple lines of text will append a trailing line feed.<br>*(added in PxPlus 2021 Update 1)* |
| **CornerRadBtn** | This option sets the corner radius for Buttons. Works only in **4D** mode.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 255 inclusive. \|<br>***Example:***<br>CornerRadBtn is set to **"Round"**:<br>```<br>print 'OPTION'("CornerRadBtn","Round")<br>BUTTON 100,@(10,10,12,3)="{!Stop}Button 1"<br>```<br>![](https://manual.pvxplus.com/migration-assets/5629b3a1f117b5d9924e073716b449601b7217cb59692c5d98aed941c4e4b088.png)<br>CornerRadBtn is set to **"Square"**:<br>```<br>print 'OPTION'("CornerRadBtn","Square")<br>BUTTON 100,@(10,10,12,3)="{!Stop}Button 1"<br>```<br>![](https://manual.pvxplus.com/migration-assets/0a29f7ac1cb1538afc35c4e8558fc7d1b320523e53854727687ce3fcd0250f59.png)<br>CornerRadBtn is set to a value of **"10"**:<br>```<br>print 'OPTION'("CornerRadBtn","10")<br>BUTTON 100,@(10,10,12,3)="{!Stop}Button 1"<br>```<br>![](https://manual.pvxplus.com/migration-assets/236203f6f359741d56138ad3f12129561220ba6e747ec861f147fe5e512a6ed2.png)<br>*(added in PxPlus 2026)* |
| **CornerRadCB** | This option sets the corner radius for Check Boxes that look like check boxes (no bitmap defined), not for Check Boxes that look like normal buttons. Works only in **4D** mode.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 255 inclusive. \|<br>To set the corner radius for Check Boxes created as buttons (when a bitmap is added), use the **[CornerRadCBImg](https://manual.pvxplus.com/mnemonics/option#corner_cbimg)** option.<br>***Example:***<br>CornerRadCB is set to **"Round"**:<br>print 'OPTION'("CornerRadCB","Round")  <br> CHECK_BOX 100,@(10,10,12,3)="Check Box 1"![](https://manual.pvxplus.com/migration-assets/4133ab6fd6920aea27a48579056c0468ec540daf4ff35cab1dd963ff8de44f12.png)<br>CornerRadCB is set to **"Square"**:<br>print 'OPTION'("CornerRadCB","Square")  <br> CHECK_BOX 100,@(10,10,12,3)="Check Box 1"![](https://manual.pvxplus.com/migration-assets/e7e570f2d24be9e0e84ac06446c07f47fc7528b8335bfe84d703ed65dcbbfc1b.png)<br>CornerRadCB is set to a value of **"7"**:<br>print 'OPTION'("CornerRadCB","7")  <br> CHECK_BOX 100,@(10,10,12,3)="Check Box 1"![](https://manual.pvxplus.com/migration-assets/dd2e031bb185745c397d4b2454fc39ed28ba78e55ae4b291fc28133fee5ef96a.png)<br>*(added in PxPlus 2026)* |
| **CornerRadCBImg** | This option sets the corner radius for Check Boxes created as buttons (when a bitmap is added). Works only in **4D** mode.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 255 inclusive. \|<br>To set the corner radius for Check Boxes with no bitmap added, use the **[CornerRadCB](https://manual.pvxplus.com/mnemonics/option#corner_cb)** option.<br>***Example:***<br>CornerRadCBImg is set to **"Round"**:<br>print 'OPTION'("CornerRadCBImg","")  <br> CHECK_BOX 100,@(10,10,12,3)="{!Stop}Check Box 1"![](https://manual.pvxplus.com/migration-assets/dbb24bcf348085609ccfd99f4c826779ec4fd41721b216be3fa1aa7b9a381da9.png)<br>CornerRadCBImg is set to **"Square"**:<br>print 'OPTION'("CornerRadCBImg","Square")  <br> CHECK_BOX 100,@(10,10,12,3)="{!Stop}Check Box 1"![](https://manual.pvxplus.com/migration-assets/a253a17fad31e18592a2bf312a7badcde779016f32c78820e8f7a330b0b75a1f.png)<br>CornerRadCBImg is set to a value of **"7"**:<br>print 'OPTION'("CornerRadCBImg","7")  <br> CHECK_BOX 100,@(10,10,12,3)="{!Stop}Check Box 1"![](https://manual.pvxplus.com/migration-assets/d3595d4e06e6c7924bc6c85a3e8c27358f89bed7d59e9da61ae744417d2ae386.png)<br>*(added in PxPlus 2026)* |
| **CornerRadDB** | This option sets the corner radius for Drop Boxes. Works only in **4D** mode.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 3 inclusive. \|<br>***Example:***<br>CornerRadDB is set to **"Round"**:<br>print 'OPTION'("CornerRadDB","Round")  <br> DROP_BOX 100,@(10,15,12,8)  <br> DROP_BOX LOAD 100,"cat/dog/horse/pig/"![](https://manual.pvxplus.com/migration-assets/53af55d20d7e87a33f4b36d3b30c51d90a256d8221ddffab572a9c577398637b.png)<br>CornerRadDB is set to **"Square"**:<br>print 'OPTION'("CornerRadDB","Square")  <br> DROP_BOX 100,@(10,15,12,8)  <br> DROP_BOX LOAD 100,"cat/dog/horse/pig/"![](https://manual.pvxplus.com/migration-assets/c1b4f28fc5d85f3d4b57fc545152ec8bf78980aed13fd05db2609f8383b34721.png)<br>CornerRadDB is set to a value of **"3"**:<br>print 'OPTION'("CornerRadDB","3")  <br> DROP_BOX 100,@(10,15,12,8)  <br> DROP_BOX LOAD 100,"cat/dog/horse/pig/"![](https://manual.pvxplus.com/migration-assets/1ca4f668f01e493e39d9b52e14dc9918f4deac663ce13274c72ff2a45e1e3089.png)<br>*(added in PxPlus 2026)* |
| **CornerRadLB** | This option sets the corner radius for List Boxes (all types ***except*** Report View and Variable List Boxes). Works only in **4D** mode.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 8 inclusive. \|<br>***Example:***<br>CornerRadLB is set to **"Round"**:<br>print 'OPTION'("CornerRadLB","Round")  <br> LIST_BOX 100,@(10,15,10,6)  <br> LIST_BOX LOAD 100,"cat/dog/horse/pig/"![](https://manual.pvxplus.com/migration-assets/ee96cd18c33e205007b440285bf9435ec29dc19aa17822c17203001588130d75.png)<br>CornerRadLB is set to **"Square"**:<br>print 'OPTION'("CornerRadLB","Square")  <br> LIST_BOX 100,@(10,15,10,6)  <br> LIST_BOX LOAD 100,"cat/dog/horse/pig/"![](https://manual.pvxplus.com/migration-assets/04fd7771902e51e1475823384d0876bf97128b4f9418d1000f9bcb19bcd51835.png)<br>CornerRadLB is set to a value of **"8"**:<br>print 'OPTION'("CornerRadLB","8")  <br> LIST_BOX 100,@(10,15,10,6)  <br> LIST_BOX LOAD 100,"cat/dog/horse/pig/"![](https://manual.pvxplus.com/migration-assets/817bbe536549d4c5570a954ab14a03bff76c050cfda22eedcfb9305bb3d959eb.png)<br>*(added in PxPlus 2026)* |
| **CornerRadML** | This option sets the corner radius for Multi-Lines. Works only in **4D** mode.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 7 inclusive. \|<br>***Example:***<br>CornerRadML is set to **"Round"**:<br>print 'OPTION'("CornerRadML","Round")  <br> MULTI_LINE 100,@(10,15,10,2)![](https://manual.pvxplus.com/migration-assets/ab711ad9c57dcb80ccfcfb4134f323abd806ccbde6d59c4e3a1de43f1c4b0edc.png)<br>CornerRadML is set to **"Square"**:<br>print 'OPTION'("CornerRadML","Square")  <br> MULTI_LINE 100,@(10,15,10,2)![](https://manual.pvxplus.com/migration-assets/61214a43d0a20cbed06f462b49f9a0353bde0beeacc906b647ed1bbeae5bd06f.png)<br>CornerRadML is set to a value of **"7"**:<br>print 'OPTION'("CornerRadML","7")  <br> MULTI_LINE 100,@(10,15,10,2)![](https://manual.pvxplus.com/migration-assets/5d18123ebdd2455b0f3161e41c74f7f8a468b035f1984b5f44b93a2ff53d7702.png)<br>*(added in PxPlus 2026)* |
| **CornerRadRBImg** | This option sets the corner radius for Radio Buttons created as buttons (when a bitmap is added). Works only in **4D** mode. Standard Radio Buttons (with no bitmap defined) are always round.<br>Possible values are:<br>\|  \|  \|  \|<br>\| --- \| --- \| --- \|<br>\|  \| (*Null*) \| Property is not set. \|<br>\|  \| "Round" \| Sets the default radius of 3 for round corners. \|<br>\|  \| "Square" \| Sets the default radius of 0 for square corners. \|<br>\|  \| ("*Value*") \| Enter a value between 0 to 255 inclusive. \|<br>***Example:***<br>CornerRadRBImg is set to **"Round"**:<br>print 'OPTION'("CornerRadRBImg","Round")  <br> RADIO_BUTTON 100:1,@(10,15,10,2)="{!Stop}Yearly"![](https://manual.pvxplus.com/migration-assets/84193091365fe746f8a6dec69fde68b5c494bb3dec9dc0f244c2823f8fc08819.png)<br>CornerRadRBImg is set to **"Square"**:<br>print 'OPTION'("CornerRadRBImg","Square")  <br> RADIO_BUTTON 100:1,@(10,15,10,2)="{!Stop}Yearly"![](https://manual.pvxplus.com/migration-assets/a6331ec9daf375778f6ac5947943054f3862a8460e546c8eb72441df643d6b32.png)<br>CornerRadRBImg is set to a value of **"10"**:<br>print 'OPTION'("CornerRadRBImg","10")  <br> RADIO_BUTTON 100:1,@(10,15,10,2)="{!Stop}Yearly"![](https://manual.pvxplus.com/migration-assets/600d22bddf7e4c14bd41629329a1e49e168c497b3921566c111f6b3875265419.png)<br>*(added in PxPlus 2026)* |
| **DeleteOnClose** | Setting this option to "1" will cause the system to attempt to delete the associated file when closed.<br>*(added in PxPlus 2014)* |
| **DoubleBfr** ¹ | Controls the double buffering of screen updates on Windows. If set to "1", screen updates are first done off-screen then copied on-screen in a single update thereby reducing flickering. *Default* setting is ***Off*** (0).<br>Affects current window ***only***. Set this option after a window is created for each window on which you want double buffering to apply.<br>*(added in PxPlus v10)* |
| **Flash** ¹ | Controls flashing of the frame for the current window and the task bar.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "ON" \| Frame and task bar will flash until turned OFF by the application. \|<br>\| "OFF" \| Frame and task bar will stop flashing (return to normal display). \|<br>\| "" \| Frame and task bar will flash at least once and then continue to flash until the application is made 'active' (brought to the forefront of user session). \|<br>*(added in PxPlus v8.11, build 9182)* |
| **FocusRectBtn** | Controls whether a dotted focus rectangle displays around the Button text. By default, the focus rectangle is shown (On).<br>If set to "0" or "N", the focus rectangle is not shown (Off).<br>If set to "1" or "Y", the focus rectangle is shown (On).<br>***Example:***<br>To turn Button focus ***Off***:<br>```<br>print 'OPTION'("FocusRectBtn",0)<br>BUTTON 100,@(40,12,10,2)="{!Stop}Button 1"<br>```<br>![](https://manual.pvxplus.com/migration-assets/e150b782ca6bdfe14fe0dbb11ccfb38be0d3076a824f0354f34a2ca273d46350.png)<br>To turn Button focus back ***On***:<br>print 'OPTION'("FocusRectBtn",1)  <br> BUTTON 100,@(40,12,10,2)="{!Stop}Button 1"![](https://manual.pvxplus.com/migration-assets/42fe216663e2f71fd0e16f7bb856e6773d106ef051924af968ddd051b4e83ac9.png)<br>*(added in PxPlus 2026)* |
| **FocusRectCB** | Controls whether a dotted focus rectangle displays around the Check Box text. By default, the focus rectangle is shown (On).<br>If set to "0" or "N", the focus rectangle is not shown (Off).<br>If set to "1" or "Y", the focus rectangle is shown (On).<br>***Example:***<br>To turn Check Box focus ***Off***:<br>print 'OPTION'("FocusRectCB",0)  <br> CHECK_BOX 100,@(40,15,15,2)="Check Box 1"![](https://manual.pvxplus.com/migration-assets/b0077ca6644f4424f10a602203b9043f40fe09b8434441c99115947a693e2907.png)<br>To turn Check Box focus back ***On***:<br>print 'OPTION'("FocusRectCB",1)  <br> CHECK_BOX 100,@(40,15,15,2)="Check Box 1"![](https://manual.pvxplus.com/migration-assets/edf4326e1d9579fb9590abe1fddd5e07d7e2704ed15e1db139a9f11870b50aee.png)<br>***Example:***<br>To turn Check Box focus ***Off*** (when bitmap is added):<br>print 'OPTION'("FocusRectCB",0)  <br> CHECK_BOX 100,@(40,15,15,3)="{!Stop} Check Box 1"![](https://manual.pvxplus.com/migration-assets/8ce119afa48f3290a7d2065f254c77b25135a507dc5924c64a48e4930af7e07e.png)<br>To turn Check Box focus back ***On*** (when bitmap is added):<br>print 'OPTION'("FocusRectCB",1)  <br> CHECK_BOX 100,@(40,15,15,3)="{!Stop} Check Box 1"![](https://manual.pvxplus.com/migration-assets/23068257e0993e336629457094ab98005b81903abb79ff9624f03063c2a29c7d.png)<br>*(added in PxPlus 2026)* |
| **FocusRectDB** | Controls whether a dotted focus rectangle displays around the Drop Box selected text. By default, the focus rectangle is shown (On). This option does not apply to Variable Drop Boxes.<br>If set to "0" or "N", the focus rectangle is not shown (Off).<br>If set to "1" or "Y", the focus rectangle is shown (On).<br>***Example:***<br>To turn Drop Box focus ***Off***:<br>print 'OPTION'("FocusRectDB",0)  <br> DROP_BOX 100,@(40,15,15,9)  <br> DROP_BOX LOAD 100,"Cat/Dog/Horse/Pig/"![](https://manual.pvxplus.com/migration-assets/38698010561de67a2fce80ab8f8b795014b9dee9df597dbd6b77d622d21195c9.png)![](https://manual.pvxplus.com/migration-assets/39dcba150d2d1cb6af0b2b8e596e5520c2567c31e8e5bc02da886aa714956a0d.png)<br>To turn Drop Box focus back ***On***:<br>print 'OPTION'("FocusRectDB",1)  <br> DROP_BOX 100,@(40,15,15,9)  <br> DROP_BOX LOAD 100,"Cat/Dog/Horse/Pig/"![](https://manual.pvxplus.com/migration-assets/7c663054b0beb8529ecc1e346d6dfc9bed57e53c111503ded5c4424a0c75987f.png)![](https://manual.pvxplus.com/migration-assets/eaad6a284264df93571fe544a6d0bc1a3c6bc672716dc463704ed7f1fb699552.png)<br>*(added in PxPlus 2026)* |
| **FocusRectLB** | Controls whether a dotted focus rectangle displays around the List Box selected row. By default, the focus rectangle is shown (On). This option can be applied to List Boxes, List Views, Report Views and Tree Views but not Variable List Boxes.<br>If set to "0" or "N", the focus rectangle is not shown (Off).<br>If set to "1" or "Y", the focus rectangle is shown (On).<br>***Example:***<br>To turn List Box focus ***Off***:<br>print 'OPTION'("FocusRectLB",0)  <br> LIST_BOX 100,@(40,15,10,6)  <br> LIST_BOX LOAD 100,"Cat/Cow/Dog/Horse/Pig/Sheep/"![](https://manual.pvxplus.com/migration-assets/fe29e2c37be14ca58dadb9a57deeb6ddd68d16c1c34f2a435ecedb4bfdd4dd91.png)<br>To turn List Box focus back ***On***:<br>print 'OPTION'("FocusRectLB",1)  <br> LIST_BOX 100,@(40,15,10,6)  <br> LIST_BOX LOAD 100,"Cat/Cow/Dog/Horse/Pig/Sheep/"![](https://manual.pvxplus.com/migration-assets/7b45a65d031d9104d86fbcd40978a8f4f8700e74a71349ef9faa43f5b1587756.png)<br>*(added in PxPlus 2026)* |
| **FocusRectRB** | Controls whether a dotted focus rectangle displays around the Radio Button text. By default, the focus rectangle is shown (On).<br>If set to "0" or "N", the focus rectangle is not shown (Off).<br>If set to "1" or "Y", the focus rectangle is shown (On).<br>***Example:***<br>To turn Radio Button focus ***Off***:<br>```<br>print 'OPTION'("FocusRectRB",0)<br>RADIO_BUTTON 100:1,@(40,15,14,3)="Radio Button 1"<br>RADIO_BUTTON 100:2,@(40,17,14,3)="Radio Button 2"<br>```<br>When Radio Button 2 is selected, no focus rectangle is shown:![](https://manual.pvxplus.com/migration-assets/8030a9fd0cfbad7a5f1104e4fccb29788bace4732a8c2d7acd028779e916e5c0.png)<br>To turn Radio Button focus back ***On***:<br>```<br>print 'OPTION'("FocusRectRB",1)<br>RADIO_BUTTON 100:1,@(40,15,14,3)="Radio Button 1"<br>RADIO_BUTTON 100:2,@(40,17,14,3)="Radio Button 2"<br>```<br>When Radio Button 2 is selected, the focus rectangle is shown:![](https://manual.pvxplus.com/migration-assets/3ba2ae0735a0a07dea9ce5e562efde36464844ce5a02e10fb04b2c04c7cfdc8c.png)<br>***Example:***<br>To turn Radio Button focus ***Off*** (when bitmap is added):<br>```<br>print 'OPTION'("FocusRectRB",0)<br>RADIO_BUTTON 100:1,@(40,15,14,3)="{!Stop} Radio Button 1"<br>RADIO_BUTTON 100:2,@(40,19,14,3)="{!Bug} Radio Button 2"<br>```<br>When Radio Button 2 is selected, no focus rectangle is shown:<br>![](https://manual.pvxplus.com/migration-assets/1dc62a1b654ecebf472438cc8b1ba3a26a37ba10596086ca4f42b8100973baf0.png)<br>To turn Radio Button focus back ***On*** (when bitmap is added):<br>```<br>print 'OPTION'("FocusRectRB",1)<br>RADIO_BUTTON 100:1,@(40,15,14,3)="{!Stop} Radio Button 1"<br>RADIO_BUTTON 100:2,@(40,19,14,3)="{!Bug} Radio Button 2"<br>```<br>When Radio Button 2 is selected, the focus rectangle is shown:![](https://manual.pvxplus.com/migration-assets/c9c7b9ee9711b84f3c9e9946fc0a7e785399e81696b06ecac83bb0eb6da463ae.png)<br>*(added in PxPlus 2026)* |
| **Frame** ¹ | This option is used to control the type of frame/border for the current window. Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "NONE" \| The window has no border/frame. \|<br>\| "CAPTION" \| The window has a border and caption line. \|<br>\| "THICK" \| The window has a thick border. \|<br>\| "THIN" \| The window has a thin border (usually a single pixel wide black line). \|<br>*(added in PxPlus v7.00, build 9163.1)* |
| **GrayDisabledBmp** | This option is used to control the display of images on disabled buttons.<br>If set to ***Off*** ("0" or "N"), the images on disabled buttons will display only as shadows. This means that only the shadow left by the outline of the image will be seen.<br>If set to ***On*** ("1" or "Y"), the images on disabled buttons will be converted to gray scale.<br>*Default* setting is "0" or "N" (image displays as a shadow).<br>***Example:***<br>![](https://manual.pvxplus.com/migration-assets/e67d53dba4e9111a7d36759e78d8a93c59223fa284de7533e62d0fa7ab581a4f.png)<br>*(added in PxPlus 2017)* |
| **GridAlignLines** | Note:  <br>This option applies *only* to Grids created after setting the option and *only* to the *Button* family of [Cell Types](https://manual.pvxplus.com/directives/grid#Mark8): Button, FlatButton, FlatButtonInOnly, TextButton, FlatTextButton and FlatTextButtonInOnly.<br>When ***enabled*** (set to "1" or "Y"), any Multi-Line text (lines separated by line feed $0a$) in a Grid ***Button-style cell*** will have each line of text individually aligned as per the **['Align$](https://manual.pvxplus.com/properties/align)** property.<br>If ***disabled*** (set to "0" or "N"), the lines will be treated as a block of text, and that full block will be aligned as per the **['Align$](https://manual.pvxplus.com/properties/align)** property.<br>This option was added in PxPlus 2017 with a *default* setting of ***enabled***. Prior versions of PxPlus did ***not*** have this setting, and the Grid output was as if the option was disabled.<br>*(added in PxPlus 2017)* |
| **GridMLVersion** | This option is used to set the behavior of the **Enter** key and the **Up/Down** arrow keys when editing a Grid cell with lines of Multi-Line text.<br>When set to "1" *(Default)*, pressing **Enter** or **Ctrl - Enter** creates a new line, and the **Up/Down** arrow keys are used to move up/down between the lines of text in the cell.<br>If set to "0", pressing **Ctrl - Enter** creates a new line, the **Enter** key enters/exits the cell, and the **Up/Down** arrow keys are used to move to other cells.<br>*(added in PxPlus 2019)* |
| **HideTips** ¹ | This option is used to control the display of Floating tips in the system. When set to "1", tips will not be displayed. Setting it to a null value or "0" (*Default*) enables tips. |
| **HoverCtl** ¹ | This option is used to define a CTL value that the system will generate when the mouse hovers over the text plane in the current windows. Passing a null value or "0" disables this option. |
| **Invalid_Bmp** ¹ | This option is used to set the name of a Bitmap/Image file to be used whenever the selected Bitmap is not available for display. Use this option to avoid missing images from your application.<br>*(added in PxPlus v7.00, build 9163.1)* |
| **Keyboard** ¹ | This option can be sent to channel 0 on a Windows (or WindX) session to change the current keyboard language.<br>*(added in PxPlus v8.11, build 9182)* |
| **LCL_MTime  <br>LCL_ATime  <br>LCL_CTime**   <br>(*if file system supports*) | Setting this option will change the file creation, modified, and last access time based on the value provided in the following format:<br>YYYY-MM-DD hh:mm:ss<br>The date/time returned has be converted to local time on the system thus for files on a shared server the value may differ based on the current time zone.<br>*(added in PxPlus v10.10)* |
| **LockOverDisable** | When this option is set ("1" or "Y"), Multi_Line input fields that are ***both*** locked ***and*** disabled will display as locked (as opposed to disabled).<br>*(added in PxPlus 2023 Update 1)* |
| **LogFile** ¹ | This option is used to set the system log file and can be used to override the setting in the INI file. The pathname can include **%Y**, **%M** and/or **%D**, which will each be replaced by the current year, month and day respectively (2 digits).<br>When defining the log file, you can specify the maximum file size (in megabytes) that you want the log file to grow. See **[PxPlus Log File](https://manual.pvxplus.com/pxplus-user-guide/development-tools/error-handling-and-debugging/additional-debugging-procedures-and-facilities#logfile)**.<br>*(added in PxPlus v10)* |
| **MaskColour** ¹   <br>  <br>*or* **MaskColor** ¹ | Sets the colour to be considered completely transparent within the current window. Note that clicking the mouse on a fully transparent section of the window passes the mouse click to the window below.<br>Setting this value along with removing the window frame is used to create windows of different shapes.<br>*(added in PxPlus v7.00, build 9163.1)* |
| **MessageBar** ¹ | This option is used to set the height (in pixels expressed as a string) for the message/status bar at the bottom of the window. |
| **ML_Overlap_Adjust** ¹ | Setting this option to "1" (*Default*) enables an automatic adjustment of the size/position of overlapping Multi-Line controls.<br>When enabled, the system will adjust Multi-Lines so that neither the field nor its border overlaps any adjacent Multi-Line. |
| **MouseWheel** ¹ | This option is used to adjust the MouseWheel increment value. This is the count of logical Up/Down arrow keys that the system will emulate when the wheel is used. |
| **Msg_Is_Tip** ¹ | This option tells the system that when the mouse hovers over a control, the MSG= value should be used as a TIP when no TIP is assigned. This avoids having to set both the TIP and MSG properties for all the controls.<br>*(added in PxPlus v7.00, build 9163.1)* |
| **PasteFilter** | This option sets the **[PasteFilter](https://manual.pvxplus.com/properties/pastefilter)** property for Multi-Line controls. Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "YES" \| Applies filter to single line inputs, ***not*** multiple line inputs. \|<br>\| "ALL" \| Applies filter to ***both*** single and multiple line inputs. \|<br>\| "NO" \| Does not apply filter. \|<br>Defaults to "YES" except for Multi-Lines that are >1 line high and accept multiple lines of input, which default to "NO".<br>*(added in PxPlus 2020 Update 1)  <br>("ALL" option was added in PxPlus 2020 Update 2.)* |
| **RbtImage** | ***(Windows Only)*** Defines the pathname to the image used to create Radio Buttons on the screen.<br>See **[Customizing Radio Buttons and Check Boxes](https://manual.pvxplus.com/appendix/customizing-rb-and-cb)**.<br>*(added in PxPlus 2017)* |
| **RbtMarkSize** | ***(Windows Only)***<br>If not set, the default size of the Radio Button image is based on the height of one line. If set, the size of the Radio Button image will be based on the value of RbtMarkSize (in pixels) ***or*** the height of the Radio Button control, *whichever is smaller.*<br>***Example:***<br>![](https://manual.pvxplus.com/migration-assets/0535efaf2a8c49a9f677fa5292fa97c604b73dcb23d3e418cccb73067879220f.jpg)<br>See **[Customizing Radio Buttons and Check Boxes](https://manual.pvxplus.com/appendix/customizing-rb-and-cb)**.<br>*(added in PxPlus 2017)* |
| **ResourceLib** ¹ | Sets or changes the current resource library/libraries. As of PxPlus V11, the resource library value may contain multiple semi-colon (or comma) separated file names up to a maximum of 10. |
| **RMouseCopy** ¹ | This option enables right mouse click Copy/Paste functionality whenever focus is on the window and not on a control. It is primarily used when running older Text mode applications and provides the ability to copy/paste text from the screen much like a terminal emulator.<br>The value can be set "1" to enable the option or "0" (*Default*) to disable it. Its setting will be automatically cascaded to subsequent windows.<br>*(added in PxPlus v8.11, build 9182)* |
| **Save_Msg_Bfr** ¹ | This option is used to control the return of error messages generated by a SAVE command.<br>If initially set to non-blank (by the **[SETDEV](https://manual.pvxplus.com/directives/setdev-set)** directive or **'OPTION'** mnemonic) and a SAVE command is issued, this value will return a list of errors that occurred during the SAVE function.<br>***Example:***<br>```<br>Load "C:\pvxsrc\tst14"<br>->list<br>0010 label:<br>0020 label:<br>0030 GOTO nowhere<br>->print 'option'("SAVE_MSG_BFR","ON")<br>->save<br>->print fin(0,"SAVE_MSG_BFR")<br>Warning #123: The following statement labels cannot be located<br>nowhere<br>Warning #124: The following statement labels occur more than once<br>label [0010,0020]<br>C:\pvxsrc\tst14<br>->print 'option'("SAVE_MSG_BFR","") ! Turn it off<br>``` |
| **SignalCaptionChg** | Setting this option causes a specified CTL value to be generated when the caption on the current window is changed. Any numeric value may be used as the CTL value, but -1109 is reserved by NOMADS. The setting applies only to the current window. Setting the item to null will turn this option off.<br>*(added in PxPlus 2017)* |
| **SortImageList** | This option controls the sorting of all **['IMAGE'](https://manual.pvxplus.com/mnemonics/image)** graphics groups by name. This sort order is used by the **[NOMADS Panel Designer](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/introduction)** to determine the order in which the graphics are drawn on a window.<br>When set to "1", the 'IMAGE' groups are sorted and drawn in alphabetical order by name on the current window. When a new 'IMAGE' group is created, it is inserted into the list of 'IMAGE' groups alphabetically.<br>When set to "0" *(Default)*, the 'IMAGE' groups are drawn in the order they are created with the default group first followed by all subsequent groups in the order they were created.<br>*(added in PxPlus 2014.01 Update 0005)* |
| **StdGridHideButtons** | Sets the default **['HideButtons](https://manual.pvxplus.com/properties/hidebuttons)** property for all subsequent grids.<br>*(added in PxPlus 2020)* |
| **StdGridQueryImg** | This option defines the image to use in the query/lookup buttons of a grid.<br>The value of the setting is an image pathname or internal image (!xxxxxx). An invalid value will result in the original ellipsis (...) being used. This value is only referenced when a grid is first created; therefore, changing the value will not affect any grid already in existence.<br>*(added in PxPlus 2021)* |
| **StdSortOrder** ¹ | The value provided defines the default column sort settings used by the List_Box (Report View) and Grid. Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| Null \| Uses StdSortOrder setting (if StdSortOrder not set, uses raw sort). \|<br>\| R \| Raw binary sort. \|<br>\| C \| Case insensitive sort. \|<br>\| A \| Sort ignores accents. \|<br>\| N \| Null values at end of sort. \|<br>\| CA \| Ignore case and accents. \|<br>\| CN \| Ignore case/Null values last. \|<br>\| AN \| Ignore accents/Null values last. \|<br>\| CAN \| Ignore case and accents/Null values last. \|<br>*(added in PxPlus v11.00 and upgraded to a string value in PxPlus v11.50)* |
| **Suppress_FF** | Sets the file 'FF' suppression settings to one of the following values:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "NO" \| No 'FF' suppression. *(Default)* \|<br>\| "ALL" \| Suppresses any 'FF' mnemonic if it will result in a blank page being produced. This setting will ***not*** suppress an 'FF' mnemonic at the start of a report where a leading 'FF' is often used to assure output starts at the top of a page.<br>Note:  <br>PDF and WINPRT output will suppress a leading 'FF', as these by definition always start a report on a new page. \|<br>\| "FIRST" \| Suppresses an 'FF' mnemonic if it is the first output to the channel. Only the first 'FF' is suppressed. \|<br>\| "LAST" \| Suppresses a trailing 'FF' mnemonic that applications often send to eject the paper at the end of a report. It is always enabled on output to PDF files. \|<br>\| "BOTH" \| A combination of "FIRST" and "LAST". \|<br>Note:  <br>Setting channel 0 sets the FF suppression option for all files subsequently opened.<br>*(added in PxPlus v9.00, build 9200)* |
| **SysMenu#** | This option can be used to add a menu item to the system drop-down menu, which displays when clicking the icon in the upper left corner of the PxPlus launch window or when using Alt + Spacebar.<br>The contents of *value$* would be "SysMenu#" where # can be a range between 1 to 10, followed by "Menu Text=###" for displaying the text for the menu item. The "Menu Text" can contain an **&** *(ampersand)* preceding any character to be used as a "hot key" to select the menu item when the menu is displayed. When the menu item is selected, the CTL value specified by ### will be generated.<br>To set a Menu #2, you would issue:  <br>  <br> PRINT 'OPTION'("SysMenu2","Menu Text=###")  <br>  <br> ***or***  <br>  <br> SETDEV (0) SET "SysMenu2" TO "Menu Text=###"<br>To remove an item from the menu, set the item to null:<br>PRINT 'OPTION'("SysMenu2","")<br>***Examples:***<br>```<br>SysMenu1=&Sleepy=1001<br>SysMenu2=&Dopey=1002<br>SysMenu3=&Bashful=1003<br>SysMenu4=D&oc=1004<br>```<br>If no number is specified (i.e. "SysMenu"), the system will set the first unused slot in the system menu. To retrieve the value, use the **[FIN( )](https://manual.pvxplus.com/functions/fin)** function.<br>*(added in PxPlus 2016)* |
| **TabBtnCloseHoverIcon** | Set the path of an icon to use when hovering over the close button on a button-type control (Button, Check Box with an image, or Radio Button with an image) where **OPT="x"** is set. Set to empty to use the default red circle X icon<br>Defaults to empty (red circle X icon is used).<br>***Example:***<br>PRINT 'OPTION'("TabBtnCloseHoverIcon","c:\\sample\\ico\\zilla.ico")<br>*(added in PxPlus 2026)* |
| **TabBtnCloseIcon** | Set the path of an icon to use when hovering over a button-type control (Button, Check Box with an image, or Radio Button with an image) where **OPT="x"** is set. Set to empty to use the default X icon.<br>Defaults to empty (X icon is used).<br>***Example:***<br>PRINT 'OPTION'("TabBtnCloseIcon","c:\\sample\\ico\\btn_x.ico")<br>*(added in PxPlus 2026)* |
| **TipFont** ¹ | Setting this option *n* channel 0 changes the current font attributes of the tip window. |
| **TipTimerCycles** ¹ | Defines the length of time (in tenths of a second) that a tip will be displayed.<br>*(added in PxPlus v8.30)* |
| **ToolBar** ¹ | This option is used to set the height (in pixels expressed as a string) for the toolbar. |
| **Transparency** ¹ | Percentage transparent for the current window.<br>A value of "0" indicates non-transparent, "100" would be completely transparent. Can only be applied to TOP level windows. |
| **UTC_MTime  <br>UTC_ATime  <br>UTC_CTime**   <br>*(if file system supports)* | Setting this option will change the file creation, modified, and last access time based on the value in the value provided consisting of UTC in seconds since Jan 1,1970.<br>*(added in PxPlus v10.10)* |
| **Utility** ¹ | This option is used to add lines to the 'Utility' command mode menu option.<br>The contents of *value*$ should contain a CTL code in the range of between 3900 and 3999 followed by an **=** *(equals sign)* and then the text to display in the menu. When the menu item is selected, the CTL value specified will be sent to the system command processor (actual value will be negated). |
| **Window_NoAuto_Focus** | Setting this option to "1" will avoid window frame repaints when changing focus between concurrent windows.<br>*(added in PxPlus 2014)* |
| **X**<br>**YPos** ¹  <br>  <br>*or* **XYPos_NoChk** | This option is used to change the position of the current window.<br>The contents of *value*$ would be two comma separated numbers containing the absolute pixel address (top, left) to which to move the current window. These numbers are relative to the desktop of the workstation or the current window's parent window.<br>The **XYPos** and **XYPos_NoChk** options are identical with the exception that **XYPos** validates the location (on screen and is visible), while **XYPos_NoChk** changes the position of the window without validating the location.<br>Note:  <br>When setting a position, the system will validate the location indicated is visible (if XYPos is used); otherwise, the window will be centered on the closest monitor to the position supplied.<br>*(added in PxPlus v7.00, build 9163.1)* |
| **X**<br>**YWdw** ¹ | This option is used to change the position of the current window.<br>The contents of *value*$ would be four comma separated numbers containing the absolute pixel address (top, left, bottom, and right in pixels) to move/resize the current window to. This is slightly different to XYPOS in that the information pertains to the Child windows as opposed to the outer/dialog window.<br>*(added in PxPlus v8.11, build 9182)* |
| **ZOrder** ¹ | If *value$* is "1", the current window will be brought to the top of the Z-Order when input focus switches to the window.<br>"0" indicates that the Z-Order of the window will not be changed when focus switches to the window.<br>*(added in PxPlus v8.11, build 9182)* |
| **Miscellaneous Options** |  |
| **DateFmt** | This option allows you to change/set the Date format to be used on the specified channel open to an **[ODB](https://manual.pvxplus.com/command-tags/odb)**, **[MySql](https://manual.pvxplus.com/command-tags/mysql)**, **[OCI](https://manual.pvxplus.com/command-tags/oci)**, **[DB2](https://manual.pvxplus.com/command-tags/db2)** or **[ADO](https://manual.pvxplus.com/command-tags/ado)** database connection.<br>If **DateFmt** is set to null, the system will use the format specific to the type of database being used (generally YYYY-MM-DD hh:mm:ss.hhh).<br>***Example:***<br>PRINT (*channel*), 'OPTION'("DATEFMT","YYYYMMDD")<br>If used with a native file, this will result in Error #32: Invalid or redundant Input/Output option.<br>*(added in PxPlus 2023)* |

**¹ Indicates this option can only be used with channel 0 under Windows (or WindX)**

| ***\*WINPRT\**** **Options** |  |
| --- | --- |
| **Orientation** | This option is used to control the orientation of the **next** page to be printed. The orientation of the current page cannot be changed.<br>Possible values are "LANDSCAPE" or "PORTRAIT" (only the first letter is checked). |
| **Source** | This option controls the paper source for the **next** page to be printed. It will take effect on the next **['FF'](https://manual.pvxplus.com/mnemonics/ff)** mnemonic.<br>The parameter specified must be the numeric value associated with the various paper trays for the printer. Use the [FIN(nnn, "SOURCELIST")](https://manual.pvxplus.com/functions/fin#sourcelist) function to get a list of possible values. |
| ***TCP Options*** |  |
| **Secure** | Sets the current connection on TCP/IP from unsecure to secure. The option, if specified, can contain the pathname to the security certificate to use. Once a connection is set to SECURE, it cannot be set unsecured. |
| **TLS** | This option is used to force the current secure connection on TCP/IP to only use a specific TLS protocol version (if the OS supported it) as opposed to the default mode of supporting SSL v2, v3, TLS1, 1.1, 1.2 and 1.3 (negotiated with the other end).<br>Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| "1" \| TLS1 \|<br>\| "1.1" \| TLS1.1 \|<br>\| "1.2" \| TLS1.2 \|<br>\| "1.3" \| TLS1.3 \|<br>\| "" \| Allow SSL v2, v3, TLS1, 1.1, 1.2 and 1.3 (negotiated with the other end) \|<br>***Example:***<br>PRINT (*chan*)'OPTION'("TLS","1.2")<br>This example would make an existing secure TCP connection force the use of TLS 1.2 protocol.<br>*(added TLS 1.3 support in PxPlus 2020)* |
| ***PDF Options*** |  |
| **Bookmark** | Set bookmark location, text and hierarchy. For information on bookmarks, see [\*PDF\* - PDF Print Interface](https://manual.pvxplus.com/file-handling/pdf). |
| **Special Processing PDF Options**  <br>  <br>Although these options relate to PDF processing, these options should be issued against channel 0 prior opening the PDF file. |  |
| **PDFFactor** ¹ | This option defines a multiplication factor to be used in computing the extra vertical space (height) to be allocated to PDF fonts.<br>Increasing this value will result in wider spacing between lines when using the font size for line spacing. This applies only to PDF files using the Haru library. (*Default* is 1.2.)<br>*(added in PxPlus v9.00, build 9200)* |
| **PDFFontDir** ¹ | ***(Linux Only)*** This option can be used to change the location of the font directory when creating PDF files using true type fonts.<br>Important Note:<br>It *must* be changed *before* the first open of a PDF file to be effective.<br>*(added in PxPlus v9.00, build 9200.1)* |
| **PDFMargin** ¹ | This option controls the number of thousandths of an inch to use for setting the default PDF printer margins. These will be assigned on all edges of the printed document. *Default* is 250 (1/4 of an inch).<br>*(added in PxPlus v9.00, build 9200)* |

## Debugging Functionality

Debugging functionality includes the ability to add watch values, set dynamic breakpoints, initiate program tracing, as well as the ability to transfer the contents of the debug window to the Clipboard.

This can be set on the fly using the *keyword$* "DebugWindow", which determines the specific functionality based on the associated *value$* settings.

***Example:***

```
print 'option'("DebugWindow","Trace")
print 'option'("DebugWindow","Host Command Open")
print 'option'("DebugWindow","Watch Add x$")
print 'option'("DebugWindow","Host Break Add Program=C:\Work51\email\send_email.pvx,Statement=10,Change=SMTPSERVER$")
```

The available DebugWindow *value$* settings for enhanced debugging functionality are described by category in the table below.

The Windows version of PxPlus also includes a debugging environment that can be accessed via the PxPlus icon drop-down menu by selecting *Debugging Environment*. See **[Windows Debugging Environment](https://manual.pvxplus.com/pxplus-user-guide/development-tools/error-handling-and-debugging/windows-debugging-environment)**.

| **Break Window Specific** | Break Window is used to assign logical break points for halting execution in an application. Can be used in combination with other settings. See **[Multi-Use Commands](https://manual.pvxplus.com/mnemonics/option#multi_use)**. |
| --- | --- |
| "Break" | Activate Break window. |
| **Command Window Specific** | Command Window is used to handle all console commands without disrupting your standard screen display. Can be used in combination with other settings. See **[Multi-Use Commands](https://manual.pvxplus.com/mnemonics/option#multi_use)**. |
| "Command" | Activate Command mode window. |
| "Halt" | Simulate a Command window halt (stop program). |
| "Step" | Simulate a Command mode window step. |
| **Trace Window Specific** | Trace Window is used to trace the execution of an application. Can be used in combination with other settings. See **[Multi-Use Commands](https://manual.pvxplus.com/mnemonics/option#multi_use)**. |
| "DebugPlus \[with\] \[Backtrace\] \[Enable\|Disable\]" | Enable/disable DebugPlus Backtrace option. |
| "File \[IO\] \[Operation\] \[Trace\] \[Enable\|Disable\]" | Enable/disable file IO operation trace option. |
| "File Opens \[Enable\|Disable\]" | Enable/disable trace file opens option. |
| "File Opens \[Failures\] \[Enable\|Disable\]" | Enable/disable trace file open failures option. |
| "\[Host\] Log \[All\] \[Errors\] \[Enable\|Disable\]" | Enable logging of errors on the host or local machine. |
| "Host Trace Programs \[Enable\|Disable\]" | Enable/disable host trace programs option. |
| "Show \[Property\] \[GET\] \[Enable\|Disable\]" | Enable/disable show property GET option. |
| "Show \[Property\] \[SET\] \[Enable\|Disable\]" | Enable/disable show property SET option. |
| "Size=1k" | Set 1K program trace size. |
| "Size=2k" | Set 2K program trace size. |
| "Size=8k" | Set 8K program trace size. |
| "Size=16k" | Set 16K program trace size. |
| "Size=32k" | Set 32K program trace size. |
| "Suppress \[Program \[Trace \[Enable\|Disable\]\]\]" | Enable/disable suppress program trace option. |
| "Trace" | Activate Trace window. |
| **Watch Window Specific** | Watch Window allows you to constantly monitor variables and/or expressions during program execution. Can be used in combination with other settings. See **[Multi-Use Commands](https://manual.pvxplus.com/mnemonics/option#multi_use)**. |
| "Size=0" | Select the no-data-break option. |
| "Size=50" | Select the 50-byte-data-break option. |
| "Size=100" | Select the 100-byte-data-break option. |
| "Size=no" | Select the No-data-break option. |
| "Watch" | Activate Watch Window. |
| **Multi-Use Commands** |  |
| "Host \[Break\|Trace\|Watch\] \[Enable\|Disable\]" | Enable/disable host trace option. |
| "\[Host\] \[Break\|Watch\] Add "String to Add" | Add a (pre-formatted) item to the Break\|Watch window. |
| ***When using the following commands, if the Debug window type is not specified, then the last window used will be utilized:*** |  |
| "\[Host\] \[Break\|Command\|Trace\|Watch\] Close" | Close window option. |
| "\[Host\] \[Break\|Command\|Trace\|Watch\] Disable" | Disable window without closing. |
| "\[Host\] \[Break\|Trace\|Watch\] Clear" | Clear window contents. |
| "\[Host\] \[Break\|Trace\|Watch\] Copy" | Copy window contents to the Clipboard. |
| **Miscellaneous Debug Options** |  |
| PRINT 'OPTION'("Logfile", *filename$*) | ***(Windows Only)*** Allows setting the Log File name on the fly. |
| PRINT 'OPTION'("TraceWdwToLogfile", "0"**\|**"1") | Copies all information written to the Trace window to the *filename$* specified by the "Logfile" setting. "1" enables the functionality and "0" disables it. |
