Promotic

GetProp - method of the PmgObject object

Description:
Reading the value from any property of the object defined by its name.
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:
Variant GetProp(String sProp)
Parameters:
sProp(String) The name of the property (case sensitive text)
Return value:
Returns a value of the property.
If an error occures, then the method returns: null for JavaScript or Empty for VBScript (it can be tested by the Pm.IsValid method).
See also:
Example:
Reading the value of the X property:
JavaScriptVBScriptSelect and copy to clipboard

var x = oObject.GetProp("X");

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

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