ui.Interface.loadActionDefaults

Load the default action defaults file.

Syntax

ui.Interface.loadActionDefaults(
   filename STRING )
  1. filename is the name of 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.

Specify the file name 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 4: Loading custom resources.