Promotic
WikipediaLinkedInYoutubeTwitterFacebook

StepSize - property of the PmfNumber object

Description:
Setting of the step (value greater than 0), the value is increased/decreased by when clicking 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 rerturns the value null for JavaScript or Empty pro VBScript.

In such case the spin button step is preset to 1 for integer (when Subtype=int) and 0.5 for real number (when 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 the value
oNumber.StepSize = 2;  //Writing the value

History:
Pm9.00.15: Created
PROMOTIC 9.0.15 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