Load the presentation styles file.


   path STRING )
  1. path is the name of presentation styles file, without the extension.


Use the ui.Interface.loadStyles() class method to load a .4st file defining presentation styles for all program forms.

If the interface already contains a set of presentation styles, it will be replaced by the new presentation styles loaded by this method.

Specify the presentation styles filename without the ".4st" extension.

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


CALL ui.Interface.loadStyles("mystyles")

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