Promotic
WikipediaLinkedInYoutubeTwitterFacebook

mapLoadFromString - method of object PmMap

Description:
The method creates new properties and their values in the object. If the property already exists in the object, only its value is changed.
Syntax:
mapLoadFromString(sOper As String, sString As String)
Calling:
oMap.mapLoadFromString(sOper, sKeys);
Parameters:
sOper(String) Defines the type of operation - this is not used so far. It is necessary to enter "".
sString(String) The text string containing definitions of property names and values.

The string syntax is: "Name1:Value1;Name2: ... ;". It is a text in format PmNamedValues.

Note:
All values of these properties are of the String data type.
 
The method can also be called in the graphic item events for Web Panels.
See also:
Example:
oMap.mapLoadFromString("", "Temperature:85;Pressure:1013.85;");
oMap.Temperature contains "85", oMap.Pressure contains "1013.85".
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice