Value - property of the PmfEnum object
Description:
Pmf object value.
Note:
Property access
for read and write.
The property returns the value of the selected row that was added by the
AddRow method.
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
var oEnum = oForm.CreateItem("enum", "Id1", "Title", "Value:5;");
var nValue = oEnum.Value;
// Reading from the property
oEnum.Value = 5;
// Writing into the property