This object represents one form item of the type: "Integer or real number input".
Properties and methods of this object:
|StepSize||Setting of the step the value is increased/decreased by by clicking the mouse the spin buttons while editing|
|Subtype||Specifies whether the object displays/inputs integer or real number|
|Value||Pmf object value|
|ValueHorzAlign||The way of horizontal number alignment|
Properties and methods that are common to all objects of the PmfObject type:
|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|
Script creates one form item. It is presumed that the oForm object already exists.
var oNmb = oForm.CreateItem("number", "id_nmb");
oNmb.Value = 5;