[toolbar]

The [toolbar] section of the initialization file controls the content of the Uniface toolbar, which is available for all Uniface client/server applications. All settings in this section are automatically updated by Uniface whenever it terminates.

Uniface Toolbar

Uniface Toolbar with all contents enabled

Description

The Uniface toolbar is associated with the Uniface application shell. Its contents are determined by the settings in this section. If nothing is set, the toolbar is empty and therefor not visible.

The appearance of this toolbar (an all other toolbars and panels in Uniface applications) can be controlled using the ButtonStyle and PanelColor settings in the [upi] section.

Settings

Initialization Setting Description
CHARSETS Determines the availability of a selection button on the far left-hand side of the toolbar for each of the character sets 0 through 7. Allowed values are eight comma-separated 0 or 1 values.
CSETACCELERATOR Determines whether the character set can be set using the shortcuts Alt+0 through Alt+7.

Allowed values are

  • 0—Shortcuts are not available
  • 1—Shortcuts are only available when the toolbar is visible
  • 2—Shortcuts are always available

The default is 2.

FONTLIST Determines whether a combo box listing the available fonts is displayed on the toolbar. This is only useful when more than one font is available. The default value is On
MENUTOGGLE Determines whether the Menu Toggle button will be displayed on the far right-hand side of the toolbar. This button is disabled when only one menu is available. The default value is Off
MDICONTROLS Determines whether the MDI window list, tile, and cascade buttons are shown on the toolbar. The default value is Off
STYLEBUTTONS Determines whether the Bold, Italic, and Underline buttons are shown on the toolbar. One or more of these buttons may be disabled (dimmed), depending on the setting of bold, italic, and underline in the [upi] section. The default value is On
VIEWTOGGLE Determines whether a View button is displayed on the toolbar. The default value is On

Related Topics