Promotic
WikipediaLinkedInYoutubeTwitterFacebook

RestartGui - method of object Pm

Description:
Executes restart of the application graphic interface (Gui = Graphic User Interface).
Syntax:
Empty RestartGui()
Calling:
Pm.RestartGui
Note:
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 in 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.
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: new method. Executes restart of the application graphic interface.
PROMOTIC 9.0.7 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.Tavičská 845/21 703 00 Ostrava-Vítkovice