Update cookies preferences
Promotic

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:
Changes application language and reopens all windows so the language change is visible. See How to create an application using different national languages.
JavaScriptVBScriptSelect and copy to clipboard

Pm.RtLang = "en";
Pm.RestartGui();

History:
Pm9.00.02: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- LN2
- PI
- Pow
- RestartGui
 
 
- Sin
- Tan
© MICROSYS, spol. s r.o.