ui.Form.LoadToolbar()

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.

It is advised that you don’t use the file extension name in the toolbar form specification. In this case, the runtime system will automatically add it. However, you still can specify the toolbar form as mytoolbar_form.fm2.

The toolbar added this way will also be used in MDI containers.

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.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.