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


   filename STRING )
  1. filename is the name of a topmenu file, without the extension.


Use the ui.Interface.loadTopMenu() class method to load a .4tm file defining a default topmenu for all forms.

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

Specify the topmenu file name without the ".4tm" extension.

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

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


CALL ui.Interface.loadTopMenu("mytopmenu")