The toolbar plays an important role in an application. It is usually the first thing the user sees and has a high influence on the impression the application makes.

Yes, it is also possible to use your own toolbar with TextDynamic - we have provided a powerful event and methods to update the enable/pressed states of the buttons in the most efficient way.

It is also possible to customize the background color of the toolbar, you may select a background bitmap which is tiled, use a single color or shading with customizable start and end colors.

But usually it is sufficient to use the embedded toolbars. There is not just one, but 4 additional in the area of the scrollbars. It is even possible to activate a tabset which can be used when you work with multiple documents in one editor.

This screenshot shows the various GUI elements which can be enabled when required. (The tabset PanelH2 and the Gutter are reserved for the future)

Designing such a user interface can be painful - but not with TextDynamic. The user interface is loaded from a separate "PCC" file. This file is created by the "". We include a sample file which should solve most needs. It is easy to add and remove certain buttons. The included PCC file (buttons.PCC) already contains more than 100 modern glyphs in the size 24x24 and 16x16 pixels.

We use XML to initialize the toolbars - the PCC file includes one ore more "editlayout" scripts.

The PCC file can be protected using a password. The password is provided encrypted to the control to allow the PCC file to be loaded.

The application "ImagePack" is used to manage the image list and the XML script which initializes the toolbars.