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 into this property and if this property is linked to the data binding PP
, 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 from the property
oString.Value = "Text";
// Writing into the property
An example of formatting the value of the Date type:
Pm.FormatDate(v1, "%d.%m.%Y %H:%M:%S.%2T");