"maxValue";

The attribute "maxValue"; sets the maximum value, which is returned when a slider is moved to maximum position. In case of thumb wheel the thumb wheel is moved between the minimum and maximum value.

Synopsis

shape.maxValue(int value);

Parameters

Parameter Description
shape Name of the object
value The maximum value

Description

The attribute "maxValue"; sets the maximum value, which is returned when a slider is moved to maximum position. In case of thumb wheel the thumb wheel is moved between the minimum and maximum value.

Example

The following example sets the maximum value to 20.

main(bool enter)
{
  SLIDER1.maxValue(20);
}

Assignment

Slider, Thumb wheel