ui.Interface.setName() is used to set the identifier of the MDI container as well as its child applications.
Syntax
ui.Interface.setName("id")
Arguments
id |
the identifier of the MDI container (STRING) |
Usage and examples
ui.Interface.setName() allows setting the identifier of the MDI container. This name will be used by child applications to identify their parent (MDI) container by means of ui.Interface.setContainer():
CALL ui.Interface.setName("mdi_parent")
In the child application,
CALL ui.Interface.setContainer("mdi_parent")
The name of the MDI container is not displayed at runtime.
The title of the MDI container is set by ui.Interface.setText()
:
CALL ui.Interface.setName("My MDI container")
CALL ui.Interface.setText("Welcome to the MDI mode")