RestartGui - method of object Pm
Executes restart of the application graphic interface (Gui = Graphic User Interface).
The method reopens windows that have been open on application launch. Windows were not open at application launch are closed.
This method is also functional for Web panels
. The method reopens the original htm page in 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";
: new method. Executes restart of the application graphic interface.