Value - property of the PmfNumber object
Description:
Pmf object value.
Note:
Property access
for read and write.
This property is also functional in
Web panels.
If the
oExtra.onChange entry is set when the window is being opened and if the user changes this value in the configurator, then the user event is triggered with flag
oSystem.ChangeType =
"value".
Example1:
JavaScriptSelect and copy to clipboard
// Setting the propert when the object is created
// If integer:
var oNumber = oForm.CreateItem("number", "Id1", "Title", "Value:5;");
// If real number:
var oNumber = oForm.CreateItem("number", "Id1", "Title", "Subtype:float;Value:2.6;");
var nValue = oNumber.Value;
// Reading from the property
oNumber.Value = 5;
// Writing into the property