ui.Interface.loadToolBar

Load a default toolbar file for all forms of the program.

Syntax

ui.Interface.loadToolBar(
   filename STRING )
  1. filename is the name of a toolbar file, without the extension.

Usage

Use the ui.Interface.loadToolBar() class method to load a .4tb file defining a default global toolbar for all forms.

If the interface already contains a global toolbar, it will be replaced by the new toolbar loaded by this method.

Specify the toolbar file name without the ".4tb" extension.

The resource file is searched in several directories in a given order, as described in the FGLRESOURCEPATH reference topic.

The default toolbar loaded by this method is also used for the WCI container.

Example

CALL ui.Interface.loadToolBar("mytoolbar")