ui.Interface.LoadActionDefaults() is used to load user action defaults files.
Syntax
ui.Interface.loadActionDefaults("form file")
Parameters
form file |
the name of the user action defaults file (goes without extension) |
When you specify a file name, be careful with its case.
UNIX is case-sensitive, so it will treat files which names come in different cases as separate files.
Usage and examples
ui.Interface.LoadActionDefaults() takes a single parameter - the name of the user action defaults file without extension:
CALL ui.Interface.loadActionDefaults("ads")
If the methods is not called, only actions specified in the form will be loaded (and the actions specified for the whole application in the user action defaults file will be ignored):
user action defaults file is loaded |
user action defaults file is not loaded |
|
|
Screenshots above are taken from the example program - ui.Interface.loadActionDefaults_01_yes_no.