File Maintenance Generator

Button Bar

Step 6: Field Layout

The Add Button Bar window is used to add (and edit) Button controls horizontally (in a button bar) on the file maintenance panel. Up to 10 buttons can be added to a button bar, and more than one button bar can be added to a file maintenance panel.

(The ability to add/edit a Button Bar was added in PxPlus 2023.)

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

     • Click the Add Object button (above the Layout Grid) and select the Button Bar 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 Button Bar option.

This window consists of the following:

(Button Bar Buttons Grid)

Displays a list of the buttons in the button bar. After a new button is defined, it is automatically added to this list.

Add or Edit a Button Bar Button

Button that launches the Add a Button window for adding a new button to the button bar or editing an existing one.

    

These options are also available when defining a Button object on the file maintenance panel in Step 6: Fields (see Button object), except for these differences:

NOMADS

 

Size

Width

Enter the width (in number of columns only) for the button bar Button on the NOMADS panel or use the spinner control. The default is 10.

Webster+

 

Size

Width

(Available when button Type is Standard or Drop List)

Enter the width (in number of columns only) for the button bar Button on the Webster+ page.

HTML

Event/URL

An HTML event or a URL may be added to individual buttons in a button bar when defining a new button or editing a button selected in the Add Button Bar window.

Delete a Button Bar Button

Removes the selected button from the button bar. Prior to deletion, a message will display.

Copy a Button Bar Button

Creates a new button bar button by copying the settings from an existing button selected in the same button bar.

Move Up
Move Down

Moves the selected button up or down within the list, changing the order of the buttons in the button bar on the NOMADS panel and Webster+ page.

Remove All Buttons

(Available when a button bar Button is defined)

Removes all the buttons in the selected button bar. Prior to deletion, a message will display.

Removing all the buttons will also remove the button bar object from the Layout Grid after exiting the Add Button Bar window.

Span Multiple Lines

(Applicable for NOMADS Panels Only)

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

Deselecting this option allows fields to be placed beside the button bar (in a two-column layout). However, fields below the button bar (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.