Object PmfNumber

This object represents one form item of the type: "Integer or real number input".
Properties and methods of this object:
EditTypeEditing type
MinMinimum value
MaxMaximum value
StepSizeSetting of the step the value is increased/decreased by by clicking the mouse the spin buttons while editing
SubtypeSpecifies whether the object displays/inputs integer or real number
ValuePmf object value
ValueHorzAlignThe way of horizontal number alignment
Properties and methods that are common to all objects of the PmfObject type:
AddEventRegisters a function into selected event
BodyFontFont of the Body area of the Pmf object
BodyHeightIniInitial height of the Body area
BodyHeightModeThe way of changing the Body area height
BodyWidthIniInitial width of the Body area
BodyWidthModeThe way of changing the Body area width
EnabledEnable/disable editing of values
FormReturns PmForm object
IdPmf object identifier
ParentReturns reference to the parent Pmf object
PrivateDataPrivate value of the object
RemoveEventUnregisters the function in the specified event
TitleDisplayed name of the Pmf object
TitleFontFont of the Title area of the Pmf object
TitlePosPosition of the Title area of the Pmf object
TypePmf object type
VisibleReturns or sets the visibility/invisibility of Pmf object
onEditAcceptIs triggered after the editing is finished and the edited value is saved
onFocusIs triggered if the Pmf object gets or loses focus
- The object can be created by method PmForm.CreateItem("number", ...).
- 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 oNmb = oForm.CreateItem("number", "id_nmb");
oNmb.Value = 5;

Pm9.00.00: Renamed from int, float to number
Pm8.03.08: Created
PROMOTIC 9.0.24 SCADA system documentation MICROSYS, spol. s r.o.

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