Object PmfString

This object represents one form item of the type: "Text input".
Properties and methods of this object:
EditType Editing type
Multiline Enable/disable displaying the text on more than one line
Subtype Text inputbox type
Value Pmf object value
ValueHorzAlign The way of horizontal text alignment
Properties and methods that are common to all objects of the PmfObject type:
AddEvent Registers a function into selected event
BodyHeightIni Initial body height
BodyHeightMode Changing body height
BodyWidthIni Initial body width
BodyWidthMode Changing body width
Enabled Enable/disable editing of values
Id Pmf object identifier
PrivateData Private value of the object
RemoveEvent Deregisters the function in the specified event
Title Displayed name of the Pmf object
TitlePos Position of displayed Pmf object name
Type Pmf object type
Visible Sets the visibility/invisibility of Pmf object
onEditAccept Is triggered after the editing is finished and the edited value is saved
onFocus Is triggered if the Pmf object gets or loses focus
- The object can be created by method PmForm.CreateItem("string", ...).
- This object is functional also in Web panels.
Script creates one form item. It is presumed that the oForm object already exists.
JavaScriptSelect and copy to clipboard

var oStr = oForm.CreateItem("string", "id_str");
oStr.Value = "Test";

Pm8.03.08: Created
PROMOTIC 9.0.17 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