ui.Interface.loadTopMenu

Load a default topmenu file.

Syntax

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

Usage

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

Specify the filename without the "4tm" 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 topmenu loaded by this method is also used for the WCI container.

Example

CALL ui.Interface.loadTopMenu("mytopmenu")