Value - property of the PmgString object
Property access for read and write
. The preset value of this property is defined in the "Value
" configurator of this object.
If it is written to this property and if this property is linked to the data binding PP, AP, SP, OP or GP, then the value is transferred also into the source of this binding.
This property is also functional in Web panels
var oString = pMe.Items("/Txt");
var value = oString.Value; //reading
oString.Value = "Text"; //writing
An example of formatting the value of the Date type:
Pm.FormatDate(v1, "%d.%m.%Y %H:%M:%S.%2T");