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 opening the window and if the user changes this value in the configurator, then the user event is triggered with
oSystem.ChangeType = "value" flag.
Example1:
JavaScriptSelect and copy to clipboard
// Setting the property 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