Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Src - property of the PmgFrame object

Description:
Path to the Promotic object viewer in the tree of Pma objects, that is to be displayed in this Pmg object.
Syntax:
String Src
Note:
Property access for read and write. The preset 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

oFrame.Src = "/Panel0";  //writing
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice