Subtype - property of the PmfString object
Description:
Text inputbox type.
Values:
simple (default) - Simple standard single-row text inputbox.
static - Non-editable static text. It is used e.g. as note, description, report etc. For this purpose it is often handy to set
"TitlePos:no;"
.
password - The text is displayed as a password, i.e.
* character (asterisk) is displayed instead of the entered character.
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.
Example1:
JavaScriptSelect and copy to clipboard
var oString = oForm.CreateItem("string", "idStr1", "Title", "Subtype:static;");
var sSubtype = oString.Subtype;
// Reading from the property
oString.Subtype = "static";
// Writing into the property