Promotic
WikipediaLinkedInYoutubeTwitterFacebook

mapGetValueAt - method of object PmMap

Description:
Returns a value of selected object property.
Syntax:
Variant mapGetValueAt(String sProp)
Calling:
val = oMap.mapGetValueAt(sProp);
Parameters:
sProp(String) Property name.
Note:
This method is also functional in Web panels.
 
The property value can also be read directly (value = oMap.property). This method can be used for more general approach - for example the property name can be stored in another variable.
See also:
Example:
JavaScriptSelect and copy to clipboard

var oMap = Pm.CreatePmMap();
oMap.mapSetValueAt("Temperature", 85);
var val = oMap.mapGetValueAt("Temperature");
//val contains 85

History:
Pm8.03.04: Created
PROMOTIC 9.0.7 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