Change the dialog title during runtime

You can dynamically change the dialog title using a report. You can specify the title in multiple languages.

Prerequisite

At least one element of the dialog provides the report support.

Procedure

  1. Open a report for editing.
  2. Add the following for the dialog title you want to change dynamically during runtime of the dialog:

    Context.setProperty("title","This is my new title!");

    If you want to change title dynamically for multiple languages, enter the code in the following form:

    Context.setProperty("title.en","This is my new English title!");

    Context.setProperty("title.de","Das ist mein neuer deutscher Titel");

The names of the elements are now specified using a report during the runtime of the dialog.