Toolbar

Displays a toolbar for the widget, containing the specified items.

toolbar= {attribute}, {font}, {indentation}, {bulletlist}, {alignment}, {textcolor}

Description

The Toolbar property contains a comma-delimited string of toolbar properties that determine the tools that are included in the toolbar. The order of these properties determines the order in which they are displayed in the toolbar.

Valid Toolbar Properties

Property

Description

Toolbar Icons

attribute

Displays the Bold, Italic, and Underline buttons.

Bold, Italic, and Underline

font

Displays the Font Name and Font Size controls

The contents Font Name list depends on the fonts installed under Microsoft Windows.

Font Name and Font Size

indentation

Displays the Indent Text and Outdent Text buttons

 Indent Text and Outdent Text

bulletlist

Displays the Bulleted List button

Bulleted List button

alignment

Displays the Left Align, Right Align, and Center Align buttons.

Left Align, Right Align, and

textcolor

Displays the Text Color button

Text Color button

It is not possible to specify individual controls in the toolbar. For example, you cannot display only the Bold and Italic controls and not display the Underline button. If you specify attribute in the Toolbar, all three buttons are displayed.

The toolbar color is determined by the PANELCOLOR setting in the .ini file.

This is a static property that cannot be set in ProcScript.

Setting in the Initialization File

For example, to include a complete toolbar in the widget you can set the property as:

RichEditBox=urtfeditbox(font=editfont;dimmedbackcolor=off;toolbar=attribute,font,indentation,bulletlist,alignment,textcolor)

Related Topics