ui.Form.loadToolBar

Load the form toolbar.

Syntax

loadToolBar(
   path STRING )
  1. path is the name of the toolbar file without extension.

Usage

Load a toolbar XML definition file into the form with the loadToolBar() method.

The loadToolBar() method is commonly used in the form initialization function.

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.

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