The Form class / ui.Form methods |
Load form action defaults.
loadActionDefaults( filename STRING )
Load form specific action defaults at runtime with the loadActionDefaults() method.
The loadActionDefaults() method is commonly used in the form initialization function.
Specify the filename without the "4ad" 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 a form contains already action defaults, it will be replaced by the new action defaults loaded by this method.