Some Action Defaults in XML format (exit action has
Localized
Strings):
<ActionDefaultList>
<ActionDefault name="print" text="Print" image="printer"
comment="Print report" />
<ActionDefault name="modify" text="Update"
comment="Update the record" />
<ActionDefault name="exit" text="Quit" image="byebye"
comment="Exit the program" validate="no" >
<LStr text="common.exit.text" comment="common.exit.comment" />
</ActionDefault>
</ActionDefaultList>
The program loading the action defaults file:
MAIN
CALL ui.Interface.loadActionDefaults("mydefaults")
OPEN FORM f FROM "myform"
DISPLAY FORM f
...
END MAIN