"value" / "text"

Value in the spin button text field. Previously the property name "text" was used.

Synopsis

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

getValue(string shape, "value", int &n);

shape.value(int n);

Parameters

Parameter Description
shape Name of the object
n Displayed value in the spin button text field

Description

An integer value.

Example

Sets the value 5.

main()
{
  SPIN_BUTTON1.value=12;
}

Assignment

Spin button