Promotic

SetActive - method of the PmaWorkspace object

Description:
The method activates the corresponding PmaWorkspace, switches it to foreground and gives focus.
Syntax:
Empty SetActive(String sStyle)
Parameters:
sStyle(String) Not used, must be empty string.
Note:
The method is relevant especially when using multiple displays and one PmaWorkspace is placed on each display with the checked configurator "Main application window".
Caution! If not defined otherwise, then all the system windows are displayed on the display with active PmaWorkspace. See How to use a PROMOTIC application on two or more displays.
See also:
Example:
Activates the secondary PmaWorkspace, for example on another display.
JavaScriptVBScriptSelect and copy to clipboard

oWorkspace2.SetActive("");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.