Promotic

EditType - property of the PmfNumber object

Description:
Editing type.
Syntax:
String EditType
Values:
"auto" (default) - Editing is enabled
"readonly" - Read only (the text cannot be changed, but can be selected and copied)
Note:
Property access for read and write.
 
It is possible to write into this property only if the PmForm window has not been opened yet.
This property is also functional in Web panels.
See also:
- PmfNumber.StepSize (property)
Example:
JavaScriptSelect and copy to clipboard

var oNumber = oForm.CreateItem("number", "Id1", "number of rows", "EditType:readonly;");
var sEditType = oNumber.EditType;   // Reading from the property
oNumber.EditType = "auto";   // Writing into the property

History:
Pm9.00.06: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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