Value - property of the PmgString object
Description:
Displayed 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
Dim oString
Set oString = pMe.Items("/Txt")
Dim value
value = oString.Value
' Reading from the property
oString.Value = "Text"
' Writing into the property
An example of formatting the value of the Date type:
JavaScriptSelect and copy to clipboard
Pm.FormatDate(v1, "%d.%m.%Y %H:%M:%S.%2T");