Loading .4tb toolbar definition files
Toolbar XML definition files can be loaded at runtime.
Loading an XML toolbar file to define a default/global toolbar
To load a .4tb toolbar definition file as default toolbar for all forms, use
the ui.Interface.loadToolbar()
class method:
CALL ui.Interface.loadToolbar("standard")
The purpose of the default/global toolbar will be displayed in all forms.
Loading a XML toolbar file for the current form/window
To load a .4tb toolbar definition file for a given form, use the
ui.Form.loadToolbar()
method:DEFINE myform ui.Form
...
CALL myform.loadToolbar("standard")
The toolbar will be displayed in that form only.
This method is typically used in form initializers.