RestartGui - method of the Pm object
Description:
Executes restart of the application graphic interface (Gui = Graphic User Interface).
Syntax:
Empty RestartGui()
Note:
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.
Example:
JavaScriptVBScriptSelect and copy to clipboard
Pm.RtLang = "en";
Pm.RestartGui();
Pm.RtLang = "en"
Pm.RestartGui