ui.Interface.loadActionDefaults

Load the default action defaults file.

Syntax

ui.Interface.loadActionDefaults(
   path STRING )
  1. path is the name of the action defaults file, without the extension.

Usage

Use the ui.Interface.loadActionDefaults() class method to load a .4ad file defining action defaults for all program forms.

If the interface already contains action defaults, these will be replaced by the new action defaults loaded by this method.

Specify the action defaults filename without the ".4ad" extension.

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

Example

CALL ui.Interface.loadActionDefaults("mydefaults")

For a complete example, see Example 3: Loading custom resources.