File Maintenance Generator

Text

Step 6: Field Layout

The Add Text window is used to add (and edit) a Text field on the file maintenance panel.

(The ability to add/edit a Text field was added in PxPlus 2022.)

To invoke this window, use one of the following methods:

     • Click the Add Object button (above the Layout Grid) and select the Text option. OR

     • Right click on a cell in the Layout Grid, select Add Object from the popup menu and then select the Add or Edit a Text Field option.

This window consists of the following:

Text Control Name

Enter a unique name or use the default name provided.

Span Multiple Lines

(Applicable for NOMADS Panels Only)

When selected (Default), the Text spans according to its size. Fields placed in the rows below the Text and below the adjoining cell (in a two-column layout) are pushed down to accommodate the Text. The field in the adjoining cell remains in place beside the Text.

Deselecting this option allows fields to be placed beside the Text (in a two-column layout). However, fields below the Text (in the same column) are not pushed down, which may result in overlapping and hidden fields.

This option works the same for Smart List Boxes, Smart Charts, Images and Embedded Panel/HTML Short Codes. For an example using a Smart List Box, see Example - Span Multiple Lines.

NOMADS

 

Include Text on NOMADS Panel

(Available when NOMADS Panel check box is selected for Form Type)

When adding new Text, this check box is selected by default to enable the options on the NOMADS folder panel.

Text

Click the drop-down arrow to select whether the Text will be a Fixed value (Default), a string Expression, or a Message Library Reference.

Visual Class

Assign a Visual Class to the Text.

Note:
Visual class names that begin with an "*" (asterisk) are pre-defined visual classes used by PVX Plus and may be subject to change without notice.

Size

Width

Enter the width for the Text either in number of Columns (Default) or as a Percentage of the column width.

When Columns is selected, the width defaults to Auto. In NOMADS, a width of Columns - Auto will result in the text filling the entire column or full line. If Text with an Auto width is the only control in the column, it will default to a width of 35. To set it back to Auto, enter 0. Otherwise, enter the desired value or use the spinner control. Valid entries are 0 to 300.

If an actual number of columns has been entered and the Text is edited so that its length exceeds the number of columns, the value will adjust to match the length of the Text entered plus 2.

When Percentage is selected, the percentage defaults to 100%. Otherwise, enter the desired percentage or use the spinner control.

Height

Enter the height for the Text in number of lines or use the spinner control. Valid entries are 0 to 255. Default is 1.

Webster+

 

Include Text on Webster+ Page

(Available when HTML Page check box is selected for Form Type)

When adding new Text, this check box is selected by default to enable the options on the Webster+ folder panel.

Text

Click the drop-down arrow to select whether the text will be a Fixed value (Default), string Expression, or HTML. If HTML is selected, a TinyMCE® HTML Editor control with a menu and tool bar options will display. See TinyMCE® HTML Editor.

HTML Class

(Applicable if Text is Fixed or Expression)

A single HTML Class can be entered (e.g. bold). Multiple classes can be entered, separated by either spaces or commas. When spaces are used as the delimiter, the values must be within double quotes (e.g. "bold text_red fill_cyan" or bold,text_red,fill_cyan).

See Webster+ Defined Classes.

Size

(Applicable if Text is Fixed or Expression)

Width

Enter the width for the Text either in number of Columns (Default) or as a Percentage of the column width.

When Columns is selected, the width defaults to Auto. In Webster+, a width of Columns - Auto will result in the Text being just wide enough to accommodate the text (and symbol if present). To set it back to Auto, enter 0. Otherwise, enter the desired value or use the spinner control. Valid entries are 0 to 300.

If an actual number of columns has been entered and the Text is edited so that its length exceeds the number of columns, the value will adjust to match the length of the Text entered plus 2.

When Percentage is selected, the percentage defaults to 100%. Otherwise, enter the desired percentage or use the spinner control.

Height

Enter the height for the Text in number of lines or use the spinner control. Valid entries are 0 to 255. Default is 1.

HTML

(Available when HTML Page check box is selected for Form Type)

Event

Enter an optional HTML Event.

Other Options

One or multiple short code options associated with the [show] short code can be entered. Multiple options must be separated by a space.

See Webster+ Short Code Options.

Example:

     tip=FloatingTip
     tip=FloatingTip link=https://www.pvxplus.com

Important Note:
The Other Options field should not be used for entering class=xxx or event=xxx short code options.

(The Other Options field was added in PxPlus 2023 Update 1.)