Update cookies preferences
Promotic

Value - property of the PmgString object

Description:
Displayed value.
Syntax:
Variant Value
Note:
Property access for read and write. The default value of this property is defined in the "Value" configurator of this object.
 
If it is written into this property and if this property is linked to the data binding PP, AP, SP, OP or GP, then this value is transferred also into the source of this data binding.

This property is also functional in Web panels.
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oString = pMe.Items("/Txt");

var value = oString.Value;   // Reading from the property
oString.Value = "Text";   // Writing into the property
An example of formatting the value of the Date type:
In the "Value" configurator bind in the "E - General expression" data binding the v1 variable by the "PP - Pma object property" data binding to the Date variable.
Then there will be the following in the "JavaScript expression" configurator:
JavaScriptSelect and copy to clipboard

Pm.FormatDate(v1, "%d.%m.%Y %H:%M:%S.%2T");
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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