ui.Interface methods

 

These methods are used for manipulating user interface.

 

ui.Interface methods are the class methods that's why you do not need the DEFINE statement to initialize an object.

 

ui.Interface methods are invoked in the following way:

 

CALL ui.Interface.<Method>(<parameters>)

 

ui.Interface.getFrontEndName()

returns the type of the front end currently used

ui.Interface.FrontEndVersion()

returns the version of the front end currently used

ui.Interface.frontCall()

allows calling non-4gl applications on the client side

ui.Interface.setLocalStorage()

creates a HTML5 local storage with the specified  name and value

ui.Interface.setName()

sets the name of the MDI container and its child applications

ui.Interface.getName()

retrieves the names of the MDI container and its child applications

ui.Interface.setText()

specifies the title for the application

ui.Interface.getText()

retrieves the title of the application

ui.Interface.setImage()

specifies the icon for the application title bar

ui.Interface.getImage()

retrieves the icon used in the application title bar

ui.Interface.setType()

specifies the type of the application run in the MDI mode (normal, container, or child)

ui.Interface.getType()

retrieve the type of the application run in the MDI mode

ui.Interface.setSize()

changes the window size for an parent MDI container

ui.Interface.setContainer()

specifies the name of the parent MDI container (is used only in child applications)

ui.Interface.getContainer()

retrieve the name of the parent MDI container

ui.Interface.getChildCount()

retrieves the number of child applications which belong to the current parent MDI container

ui.Interface.getChildInstances()

retrieves the number of instances of the child application currently running within the MDI container

ui.Interface.loadToolbar()

loads a toolbar from a file

ui.Interface.loadTopMenu()

loads a top menu from a file

ui.Interface.loadStartMenu()

loads a start menu from a file (is an alternative to creating application launch menus)

ui.Interface.loadStyles()

is used to apply user themes to applications at runtime

ui.Interface.writeToPipe()

writes data to the necessary pipe on the client side

ui.Interface.refresh()

synchronizes the client with the server