loadToolbar() is used to load a toolbar
for the specified ui.Form object:
CALL MyForm.LoadToolbar("mytoolbar_form")
It is possible to use a form file to store a toolbar which one can apply to other form files and windows.
To create a toolbar that can be added to other program objects, create a form which will contain only a toolbar and no other form objects besides the default ones.
The third-party files containing the toolbar definition are also converted into the .fm2 format.
The toolbar added this way will also be used in MDI containers.
If several files with the same name exist in the same location, specify the extension of the file to load:
CALL my_form.loadToolbar("form_name.tb2")
Otherwise, the method will search for the files in the following order until it finds the toolbar definition:
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.