"limitedDrag"

Defines whether drags out of the thumb wheel widget will still turn the wheel.

Synopsis

Synopsis

setValue (string shape, "limitedDrag", string font);

getValue (string shape, "limitedDrag", string &font);

shape.limitedDrag(bool limit);

Parameters

Parameter Description
shape Name of the object
limit

TRUE = the drag operation is stopped when the mouse is outside the widget's boundary

FALSE = the drag operation is possible outside the widget's boundary

Description

Defines whether drags out of the thumb wheel widget will still turn the wheel. Set this to FALSE to allow long drags for big value changes per drag operation. If enabled, a click and drag operation does not turn the wheel as soon as the mouse is outside of the widget's boundary.

Example

The following example sets the font for a date to Arial Black and italic.

main()
{
  THUMB_WHEEL1.limitedDrag(0);
}

Assignment

Thumb wheel