Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetProp - method of object PmgObject

Description:
Reading the value from any property of the object defined by its name.

This method is obsolete (but functional) and since version PROMOTIC 9 is no longer needed (it was designed only to use with InternetExplorer 8 and lower).

Syntax:
Variant GetProp(String sProp)
Calling:
value = oItem.GetProp(sProp)
Parameters:
sProp(String) The name of the property (case sensitive text)
Return Values:
Returns a value of the property. If an error occures, it returns the Empty value.
See also:
Example:
Read the value from X property:
JavaScriptVBScriptSelect and copy to clipboard

var oItem = pMe.Items("/Panel0");
var x = oItem.GetProp("X");

History:
Pm7.01.00: Created
PROMOTIC 9.0.4 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