Promotic

Src - property of the PmgFrame object

Description:
Path to the Promotic object viewer in the Pma objects tree, that is to be displayed in this Pmg object.
Syntax:
String Src
Note:
Property access for read and write. The default value of this property is defined in the "Viewer" configurator of this object.
 
Path can be set in both absolute or relative form.
In order to change the viewer in this object it is better to use the Pm.CreateView method.

This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oFrame = pMe.Items("/Frame");

var sPath = oFrame.Src;   // Reading from the property
oFrame.Src = "/Panel0";   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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