Update cookies preferences
Promotic

SetProp - method of the PmgObject object

Description:
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).
Syntax:
Boolean SetProp(String sProp, Variant vValue)
Parameters:
sProp(String) The name of the property (case sensitive text)
vValue(Variant) The new value for write into defined property.
Return value:
true - the value was successfully written
false - writing into defined property failed
See also:
Example:
The 30 value is written into the X property:
JavaScriptVBScriptSelect and copy to clipboard

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

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

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