The Form class / ui.Form methods |
Load the form topmenu.
Load a topmenu XML definition file into the form with the loadTopMenu() method.
The loadTopMenu() method is commonly used in the form initialization function.
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.
If the form already contains a topmenu, it will be replaced by the new topmenu loaded by this method.