ui.Interface.setText()

 

ui.Interface.setText() is used to specify the title for the application.

 

Syntax:

 

ui.Interface.setText("title_text")

 

Arguments:

 

title_text

the text which will be displayed as the title of the application at runtime (STRING)

 

 

Usage and examples:

 

ui.Interface.setText() allows specifying the title of the application displayed at runtime and seen by users.

Is usually used in applications to be run in the MDI mode to set the title for the MDI container :

 

CALL ui.Interface.setText("Welcome to the MDI mode")

 

This command will have the following results at runtime:

 

 

If ui.Interface.setText()is not set, the user will see the text set by ui.Interface.setName()as the title of the MDI container:

 

CALL ui.Interface.setName("My MDI container")

--CALL ui.Interface.setText("Welcome to the MDI mode") -- a comment, will not be executed

 

 

Related articles:

Standard front end functions

MDI Mode

Start Menu

Setting a Start Menu by Methods of ui.Interface Class

Setting a Start Menu by Built-in Querix 4GL Functions (example)

Setting a Start Menu by Methods of ui.Interface Class (example)

setName()