Promotic
WikipediaLinkedInYoutubeTwitterFacebook

EditType - property of the PmfNumber object

Description:
Editing type.
Syntax:
String EditType
Calling:
Setting the propert when the object is created:
oString = oForm.CreateItem("string", "Id", "Title", "EditType:readonly;");
Writing the value:
oString.EditType = "readonly";
Reading the value:
sEditType = oString.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.

Example:
JavaScriptSelect and copy to clipboard

var oItem = oForm.CreateItem("string", "note1", "", "EditType:readonly;");
oItem.Value = "Note";

History:
Pm9.00.06: Created
PROMOTIC 9.0.12 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