Update cookies preferences
Promotic

StepSize - property of the PmfNumber object

Description:
Setting of the step (value greater than 0), the value is increased/decreased by by clicking the mouse the spin buttons ("up"/"down" buttons) while editing.
Syntax:
Double StepSize
Note:
Property access for read and write.
 
This property is also functional in Web panels.

If the property is not set then it returns the value null for JavaScript or Empty for VBScript.
In such case the spin button step is preset to 1 for integer (if Subtype=int) and 0.5 for real number (if Subtype=float).
See also:
- PmfNumber.EditType (property)
Example:
JavaScriptSelect and copy to clipboard

var oNumber = oForm.CreateItem("number", "Id1", "number of rows");
var nStepSize = oNumber.StepSize;   // Reading from the property
oNumber.StepSize = 2;   // Writing into the property

History:
Pm9.00.15: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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