# PxPlus 2021 (version 18.00), May 2021

> Source: https://manual.pvxplus.com/vers1800

PxPlus 2021 consists of various new features and enhancements, including a new REST-based Webster+ toolset, new PxPlus Google Workspace® Objects, File Maintenance Generator enhancements and much more.

## Major New Features

- **[Webster+](https://manual.pvxplus.com/webster/webster)** for HTML page generation
- Support for larger screens with more controls
- Added named parameters to CALL, PERFORM and Methods
- Enhanced Array management
- New **[PxPlus Objects](https://manual.pvxplus.com/google-workspace-objects/introduction)** for working with Google Workspace® cloud-based applications Drive, Docs and Sheets
- Improved File Maintenance Generator, including support for Webster+ HTML page generation
- Improved support for ADA (USA)/WCAG (Canada) compliance

## PxPlus 2021 Enhancements

**Language Changes**

- **[Method Calls](https://manual.pvxplus.com/pxplus-user-guide/object-oriented-pxplus/pxplus-oop-interface/overview#Mark1)** enhanced to provide named parameters to CALL and PERFORM directives
- Ability to include images in the **[PLUSLIB DLL Library](https://manual.pvxplus.com/pluslib1/overview#Mark1)**
- **[ZOOM](https://manual.pvxplus.com/commands/wdw#Mark1)** option added to WDW command that will attempt to adjust the font size to fill the primary window as opposed to changing the number of lines and columns
- **[PxPlus.Script](https://manual.pvxplus.com/pxplus-user-guide/external-components/pxplus-ole-server/overview)** added that allows external applications to directly invoke and interact with PxPlus and PxPlus objects for Windows 32-bit and 64-bit versions
- \*BROWSER changes
  - Unused key events are now passed to the PxPlus window when being used in HTML Editor, Ed+, etc.
  - **[\*BROWSER Debug](https://manual.pvxplus.com/utilities/browser#Mark4)** mode that allows the browser developer console to display in a popup window for any \*BROWSER controls that are created
  - **[DragDrop](https://manual.pvxplus.com/utilities/browser#Mark5)** property that supports Get/Set whether the browser allows drag and drop into the browser control or popup windows

**Directives**

- **[REMOVE](https://manual.pvxplus.com/directives/dim#Mark13)** option added to subscript declaration to remove identified entry of single dimension arrays after use (typically dynamic arrays)
- **[REDIM INSERT](https://manual.pvxplus.com/directives/redim)** directive to insert either a single element at the specified index or a range of elements
- **[REDIM DELETE](https://manual.pvxplus.com/directives/redim)** directive to delete the specified index or range of indices
- WITH *variable=expression* option added to **[CALL](https://manual.pvxplus.com/directives/call#Mark1)** and **[PERFORM](https://manual.pvxplus.com/directives/perform#Mark1)** directives to specify a variable that will be initialized with the value from the expression prior execution of the called program
- **[ACCEPT UNDEFINED](https://manual.pvxplus.com/directives/def-class#Mark1)** option added for the DEF CLASS directive to indicate undefined properties should return a null string or zero
- **[MENU_BAR](https://manual.pvxplus.com/directives/menu-bar#Mark24)** and **[POPUP_MENU](https://manual.pvxplus.com/directives/popup-menu#Mark9)** directives allow the inclusion of the special characters used to define the menu

**OPTION Mnemonics**

- **[BrowserDebug](https://manual.pvxplus.com/mnemonics/option#browserdebug)** option for setting debug mode that will display the browser developer console in a popup window
- **[StdGridQueryImg](https://manual.pvxplus.com/mnemonics/option#stdgdqryimg)** option for defining the image to use in the query/lookup buttons of a grid
- **[TipColor](https://manual.pvxplus.com/mnemonics/option#tipclr)** option for defining the color for non-HTML tips  

  **Note:** The above options can be read using the **FIN** function.

**Mnemonics**

- **[FRAME](https://manual.pvxplus.com/mnemonics/frame#Mark3)** mnemonic now supports the ability to change frame text color when using '4D' mode

**Functions**

- **[CVS](https://manual.pvxplus.com/functions/cvsextend#link)** function supports new "LINK" and "URL?" formats
- **[NUM](https://manual.pvxplus.com/functions/num#Mark4)** function converts scientific notation either with or without the **+** after the E (i.e. 0.2E10 = 0.2E+10)
- **[LNO](https://manual.pvxplus.com/functions/lno)** function allows referencing lines based on a supplied string value
- Added **[::name](https://manual.pvxplus.com/functions/tcbactive#Format3)** option to the **[TCB(WINDOW)](https://manual.pvxplus.com/functions/tcbactive)** function to provide the ability to access information for window attributes

**Data Sources and Views**

- Usability enhancements for **[Data Source Definition Wizard](https://manual.pvxplus.com/views-system/data-source-maintenance/data-source-definition)**
- Ability to add **[Calculated Fields](https://manual.pvxplus.com/views-system/view-maintenance/define-calculated-items)** to Views

**Objects**

- New Google Workspace® objects
  - **[GoogleAuth](https://manual.pvxplus.com/google-workspace-objects/app-setup)** object to authorize the Google Workspace® objects
  - **[GoogleDrive](https://manual.pvxplus.com/google-workspace-objects/google-drive-object)** object to work with Google Workspace® Drive
  - **[GoogleDocs](https://manual.pvxplus.com/google-workspace-objects/google-docs-object)** object to work with Google Workspace® Docs
  - **[GoogleSheets](https://manual.pvxplus.com/google-workspace-objects/google-sheets-object)** object to work with Google Workspace® Sheets
- **[\*OBJ/ARRAYLIST](https://manual.pvxplus.com/utilities/obj-arraylist)** object to create and work with an array list
- **[REST Interface Example Objects](https://manual.pvxplus.com/utilities/restexamples)** to PayPal® and Salesforce® that can be used to build a complete interface for your own application
- **[IsReadOnly](https://manual.pvxplus.com/data-dictionary/data-dictionary-objects/database-and-pvxdb-objects#isreadonly)** data element option added to Data Dictionary object PVXDb
- Improved setting of font styles in **[\*OBJ/EXCEL](https://manual.pvxplus.com/pxplus-user-guide/external-components/pxplus-com-support/excel-object#setfont)** and **[\*OBJ/WORD](https://manual.pvxplus.com/pxplus-user-guide/external-components/pxplus-com-support/word-object#findsetfont)**

**Enhanced IDE, Nomads, iNomads and Toolkit**

- Increased panel and control sizes to a width of 620 and height of 255 in all designers
- Ability to fully maximize panel sizes
- Increased the **[Maximum Number of Controls](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/introduction#limits)** on a simple panel from 200 to 999 interactive controls
- **[Create New Project](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher#tasksection)** button added beside IDE Project drop box
- Ability to launch HTML pages in HTML Editor from the IDE **[History](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher#history)** and **[Project](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher#project)** list boxes
- Library Object Selection changes
  - **[Webster+](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/library-object-selection/menu-options#webster)** menu added for defining settings for generating HTML pages
  - Panel objects with HTML pages are designated as **[Type](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/library-object-selection/console-and-object-list#type)** "Dh"
  - Selecting a File Maintenance panel object launches File Maintenance Generator
  - **[Preview HTML Page](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/library-object-selection/menu-options#note1)** option added to the right click menu
  - Updated validation rules when creating new panels
- **[Copy Screen Objects](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/copying-library-objects)** utility changes in Library Object Selection
  - Ability to specify different input libraries
  - New Select Objects dialog for selecting other panels to copy
  - Ability to create new output library with SVN Version Control System support
  - New Apply button allows consecutive copy operations and changes to input/output libraries without exiting
  - Enhanced Copy progress bar
- **[Suppress Groups](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/options-and-utilities/suppress-groups)** utility added to help with panel design when multiple groups are used in all designers
- Usability enhancements for **[User Defined CTL Values](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/options-and-utilities/user-defined-ctls)** utility
- **[Webster+](https://manual.pvxplus.com/extended-nomads-objects/tinymce-html-editor/using-the-tinymce-html-editor#webster)** property and **[Focus](https://manual.pvxplus.com/extended-nomads-objects/tinymce-html-editor/using-the-tinymce-html-editor#methods)** method added to TinyMCE® Editor COM control
- Support for applying Multi-Line Data Class height/width attributes to a Multi-Line control in all designers
- **[iNomads Alt Text](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/image-control/image#inomadsalttext)** property added to Image controls for ADA (USA)/WCAG (Canada) compliance in all designers
- Embedded panel control changes for all designers
  - **[Display/Edit](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/embedded-panels/overview#display_panel)** the contents of the panel that is being embedded as a control
  - **[Refresh](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/embedded-panels/overview#refresh)** the list of controls on the embedded panel
- **[Clear Control when all Triggers are Null](https://manual.pvxplus.com/nomads-graphical-application/smart-controls/defining-smart-controls#Mark9)** option added to Smart Controls and Smart Charts
- Ability to set Frame **[Text Color](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/frame-control/frame#font)** when using 4D mode
- Support for applying the **[Read-Only](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/element-description#Mark17)** (locked) attribute when adding a Data Dictionary element control to a panel
- Support for applying the Read-Only attribute for Data Dictionary elements to columns in a Smart Grid
- Updated validation rules when creating new folder panels in all designers

**File Maintenance Generator**

- **[Form Types](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/object-definition#formtype)** option added for creating a Nomads panel, an HTML page or both
- Ability to **[Preview HTML Page](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/preview)**
- Ability to define the **[Webster+ Preview URL](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/preview)** for previewing HTML pages
- Ability to specify an **[Optional HTML Interface Program](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/object-definition#program)** to allow additional logic to be performed for HTML pages
- Ability to optionally **[Include HTML Page](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/screen-layout#optional)**
- Ability to add **[Smart List Boxes](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/listbox)**, **[Smart Charts](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/chart)** and **[Images](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/image)** to a Nomads panel or HTML page
  - Define Height and Width options
  - Add a Visual Class to Smart List Boxes and Smart Charts
  - Name each Smart List Box, Smart Chart and Image
- Ability to add **[Embedded Panel or HTML Short Codes](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/embed-codes)** to the Layout Grid to embed specific elements on a panel
- Ability to add a **[Hyperlink](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/hyperlink)** to a data element prompt to link to a maintenance/inquiry panel
- Added an **[Info Line](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/field-layout#infoline)** to provide details about a selected cell in the Layout Grid or a selected field in the Fields list box
- Added **[Folder Options](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/folder#folderoptions)** for folder height and tab position for HTML pages
- Ability to **[Rename](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/folder#foldertabs)** folder panels
- Ability to **[Move Key Fields](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/moving-fields)** of a table to any row on the Main panel in the Layout Grid
- Ability to combine both an Extended Class Validation descriptive **[SHOW.xxxx](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/add-remove-fields#add_show)** field and its related field into one cell to allow another field to occupy the adjacent cell
- Ability to use the **[Delete](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/add-remove-fields)** key to remove the contents of a selected cell in the Layout Grid
- **[Section Size](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/two-column#section_size)** option added to the Layout Grid for setting the width of HTML sections
- **[Section Break](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/two-column#section_break)** options for HTML pages added to the Layout Grid to control placement of sections when panels are resized
- **[Clear All Cells](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/two-column#rightclick)** option added to the Layout Grid for clearing the contents of all cells
- **[Lock/Unlock](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/two-column#lockunlock)** option added to the Layout Grid for locking/unlocking a data dictionary field
- **[Cut Cell/Paste Cell(s)](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/two-column#cut_paste)** options added to the Layout Grid for cutting/pasting cells between panels
- Support for Read Only fields and Floating Tips from the Data Dictionary

**HTML Editor**

- **[File](https://manual.pvxplus.com/html-editor#Mark4)** menu option added for displaying a list of recently opened files
- Support for updating SVN Version Control System when **[Saving HTML File](https://manual.pvxplus.com/html-editor#Mark4)** to a source SVN directory
- Ability to **[Preview HTML Page](https://manual.pvxplus.com/html-editor#Mark6)**
- Ability to define **[Webster+ Preview URL](https://manual.pvxplus.com/html-editor#Mark9)**
- Ability to insert **[Webster+ Short Codes](https://manual.pvxplus.com/html-editor#Mark10)** into an HTML document
- Support for saving changes to the current file prior to loading a new page, opening an existing file or exiting
- Support for adding HTML page updates to IDE History
- Support for creating **[Projects](https://manual.pvxplus.com/html-editor#Mark7)** and adding HTML files to projects
- Updated TinyMCE® to version 5.5.1

**Ed+ Program Editor**

- Improved syntax highlighting for PxPlus programs

**iNomads**

- Support for **[ADA (USA) or WCAG (Canada) Compliance](https://manual.pvxplus.com/inomads/inomads-introduction#compliance)**

**Themes and Visual Classes**

- New Suppress Header property for Grids to suppress Grid headers
- New Button Color property for Grids to control background color for system-generated buttons in a Grid, including Drop Box buttons and Query buttons

**Data Dictionary**

- Ability to **[Export](https://manual.pvxplus.com/data-dictionary/data-dictionary-utilities/export-definition)** and **[Import](https://manual.pvxplus.com/data-dictionary/data-dictionary-utilities/import-definition)** Data Dictionary definitions
- Ability to add **[Floating Tips](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/element-description#Mark2)** to Data Dictionary elements
- **[Read Only](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/element-description#Mark17)** attribute added for Data Dictionary elements
- **[Notes](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/overview#options)** input control added to the Info panel
- **[Last File Change](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/overview#last_change)** and **[Last Physical Update](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/overview#last_update)** display-only fields added to the Main panel
- Support for updating Uppercase data dictionary element based on Data Class attribute
- **[Delete](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/defining-keys#keydef)** button added to Data Dictionary Key Definition for removing a key
- Data Dictionary physical update no longer locks a file if only the internal dictionary needs updating and no conversion is required
- Faster loading of the data elements grid
- **[Search Grid](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/overview#elements)** option added on the Elements panel to quickly find a field name in the data elements grid

**Data Class Definition**

- New Width and Height properties for **[Multi-Line Data Classes](https://manual.pvxplus.com/data-dictionary/data-classes/multiline#display)**
- New Display Format property and Query Button options for **[Drop Box Data Classes](https://manual.pvxplus.com/data-dictionary/data-classes/dropbox#display)**

**Query Changes**

- **[Query Drop Tree](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/overview#droptree)** view added to Query+
- **[Row Display Options](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-header#rowdisplay)** added to Query+ to assign visual attributes to rows based on specified conditions
- Ability to change **[Font](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-header#font)** in Query+
- Ability to **[Suppress Records](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-selection-criteria#Mark2)** in Query+ based on duplicate return values
- Updated functionality for how the default title name for a Query is derived
- Ability to **[Pass External Data](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-selection-criteria#Mark1)** to a Query
  - **[%QRY_VARDATA$](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/designing-and-using-the-query-subsystem#qry_variol)** can be loaded with the data for the variables in REC( ) format
  - **[%QRY_VARIOL$](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/designing-and-using-the-query-subsystem#qry_variol)** can be loaded with a compiled IOList containing names of the variables to hold external data
  - **[\_VAR.](https://manual.pvxplus.com/nomads-graphical-application/smart-controls/defining-smart-controls#Mark9)** aliases added for variables passed to the \*winlist logic for creating selection criteria tests

**Query Security**

- Three different levels of **[Query Security](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-security)** added
  - Top level determines whether Query will display
  - Second level is at the Query File Link level
  - Third level is at the Column level (i.e. elements and formulas)
- Security options added for Query+ and Classic Query in **[Query Definition](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-definition#toolbar)**, **[Query File Link](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-file-link#link_sec)**, **[Column Options](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/column-options#col_sec)** and **[Query Formula Definition](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/query-formula#formula_sec)**

```
*QUERY*
```

- **[SEQPFX=Y](https://manual.pvxplus.com/file-handling/query#Mark6)** option added that will prefix the key with a 10-digit sequence number to guarantee unique keys and no data loss
- **[KNO=\*](https://manual.pvxplus.com/file-handling/query#Mark6)** option added that will use the key specified in the Query definition

**Report Writer**

- **[Line Advancement](https://manual.pvxplus.com/report-writer/designing-a-report/creating-the-report-layout/line-advancement)** options added that allow two consecutive lines to print at the same vertical location when grouping report data
- Check mark support added to menu items to clearly indicate selected options

**Web Services**

- **[OAuth2 Security](https://manual.pvxplus.com/pxplus-web-services)** added to PxPlus Web Services

**PxPlus Web Server**

- New **[%Exit_Include_HTML](https://manual.pvxplus.com/web-server-reference/setting-up-pxplus-web-server/pxplus-web-server-variables/overview#exit_incl_html)** variable that, when set along with %exit_code, tells Web Server that the output sent to %PRINT_FN should be returned to the browser

**Utilities and Commands**

- **[\*TOOLS/CONVERTHTMLCOLOR](https://manual.pvxplus.com/utilities/converthtmlclr)** utility to convert HTML color names into Hex colors
- **[\*TOOLS/PRINTHTML](https://manual.pvxplus.com/utilities/printhtml)** utility to convert HTML input into formatted text output on the given open channel
- **[\*TOOLS/READFILE](https://manual.pvxplus.com/utilities/readfile)** utility to read the entire binary contents of a file and return the data in the output string
- Added options to **[\*TOOLS/CONVERTDATA](https://manual.pvxplus.com/utilities/convertdata)** utility to allow non-exclusive access to the data files if exclusive access is not available
- Ability to **[Add HTML Pages](https://manual.pvxplus.com/project-maintenance#tasktypes)** to projects using Project Maintenance
- Updated Zip Code Library Miniz to version 2.1.0 that allows creation of Zip files greater than 2GB and ZIP64 support for Zip files greater than 4GB
- Updated **[\*plus/web/request](https://manual.pvxplus.com/web-services/overview#submitting)** utility to use HTTP version 1.1 protocol to make Web requests and receive responses
- Enhanced Data Mirroring Apply program to check for **[Apply.Stop](https://manual.pvxplus.com/data-mirroring/introduction#monitoring)** file every 100 transactions to allow the Apply process to be stopped
- Added Query button to Key Value in **[File View](https://manual.pvxplus.com/file-view-utility#Mark1)** and **[File Update](https://manual.pvxplus.com/file-update-utility#Mark1)** utilities
- Support for Read-Only (locked) flag added to View Embedded Dictionary utility

## Other Changes for Reference

**Nomads Properties**

- Option 5 (for Drop Tree) added to **[%NOMADS'Query_View](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#queryview)**

**Parameters**

- **['!E'](https://manual.pvxplus.com/parameters/exclamation-e)** system parameter added to cause the ESCAPE directive to generate an internal MSGBOX on Windows
- Option -3 added to **['TC'](https://manual.pvxplus.com/parameters/tc)** system parameter to use the TipColor setting for non-HTML tips
- **['SB'](https://manual.pvxplus.com/parameters/sb)** system parameter now set to On by default to check if the record is locked (EXTRACTED) on another channel

**INI Contents Options**

- **[BrowserDebug](https://manual.pvxplus.com/pxplus-installation-and-configuration/customizing-pxplus/ini-contents#Mark9)** to control whether or not the browser developer console will display in a popup window
- **[TipColor](https://manual.pvxplus.com/pxplus-installation-and-configuration/customizing-pxplus/ini-contents#Mark10)** to define the color for non-HTML tips

**Version Control System**

- Ability to delete a list of files
- SVN Version Control System allows **[Updating](https://manual.pvxplus.com/pxplus-version-control-system-using-tortoisesvn/using-the-version-control-system/introduction#Updating)** of busy data and resource files
