RestartGui - method of the Pm object
Executes restart of the application graphic interface (Gui = Graphic User Interface).
The method reopens windows that have been open at application launch. Windows were not open at application launch are closed.
This method is also functional in Web panels
. The method reopens the original htm page in the Web browser with new parameters (e.g. in another language).
This method can be handy for example:
- If the application language is changed. In such case all windows are reopened in another language. See Example
- If it is required to get the application into its original state.
Pm.RtLang = "en";