"wrapping"

Locks the possibility to jump from minimum value to maximum value or from maximum value to minimum value.

Synopsis

setValue(string shape, "wrapping", bool jumpLocked = FALSE);

getValue(string shape, "wrapping", bool &jumpLocked = FALSE);

shape.wrapping(bool jumpLocked = FALSE);

Parameters

Parameter Description
shape Name of the object
jumpLocked

TRUE = jumping locked

FALSE = jumping allowed

Description

This attribute locks the possibility to jump from minimum value to maximum value or from maximum value to minimum value. By the default FALSE it is possible to jump from e.g. 15 to 0 by clicking on "+" button.

Example

main()
{
  this.wrapping(TRUE);
}

Assignment

Spin button