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.
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).
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