"maximum" / "sbMaximum"
Sets or reads the maximum value of a spin button. Previously the property name "sbMaximum" was used.
Synopsis
setValue(string shape, "maximum", int value);
getValue(string shape, "maximum", int value);
shape.maximum(int value);
Parameters
Parameter | Description |
---|---|
shape | Name of the objects |
value | Maximum value of a numerical spin button |
Description
This attribute defines a new maximum value for a spin button or returns the value.
Only integers can be used for the options of a spin button.
Example
The following example creates a spin button with a range from 100 to 200 in steps of 10.
main()
{
this.maximum=200;
setValue("", "minimum",100);
setValue("", "sbStep",10);
}
Assignment
Spin button