SetProp - method of the PmgObject object

Writing the value into the property of the object defined by its name.
The value of the sProp parameter specifies the property, used for writing the new value.
This method is obsolete (but functional) and since version Pm9.0.0 is no longer needed (it was designed only for InternetExplorer 8 and lower).
Boolean SetProp(String sProp, Variant vValue)
sProp(String) The name of the property (case sensitive text)
vValue(Variant) The new value for write into defined property.
Return values:
true - the value was successfully written
false - writing into defined property failed
See also:
The value 30 is written into the X property:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Panel0");
oObject.SetProp("X", 30);

Pm9.00.00: Obsolete
PROMOTIC 9.0.25 SCADA system documentation MICROSYS, spol. s r.o.

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