Promotic

Value - property of the PmfEnum object

Description:
Pmf object value.
Syntax:
Variant 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 the window is being opened 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 propert 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

History:
Pm8.03.08: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.