Src - property of the PmgFrame object
Description:
Path to the viewer of the Promotic object in the Pma object tree, that is to be displayed in this Pmg object.
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
Dim oFrame
Set oFrame = pMe.Items("/Frame")
Dim sPath
sPath = oFrame.Src
' Reading from the property
oFrame.Src = "/Panel0"
' Writing into the property