"minimum" / "sbMinimum"

Sets or reads the maximum value of a spin button. Previously the property name "sbMinimum" was used.

Synopsis

setValue( string shape, "minimum", int value);

getValue(string shape, "minimum", int value);

shape.minimum(int value);

Parameters

Parameter Description
shape Name of the object
value Minimum value of a numerical spin button

Description

This attribute defines a new minimum 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.sbMaximum=200;
  setValue("", "sbMinimum",100);
  setValue("", "sbStep",10);
}

Assignment

Spin button