Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 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 flag oSystem.ChangeType = "value".
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 the value
oEnum.Value = 5;  //Writing the value

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice