ui.Interface.loadToolBar

Load a default toolbar file.

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.

Specify the filename without the "4tb" extension.

If the file does not exist in the current directory, it is searched in the directories defined in the DBPATH/FGLRESOURCEPATH environment variable.

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