"areaViewportPageScrollMode"

Defines the scroll behavior of the viewport widget.

Synopsis

trendObj.areaViewportPageScrollMode(int area, bool pagewise)

getValue(trendObj, "areaViewportPageScrollMode", int area, bool &pagewise);

setValue(trendObj, "areaViewportPageScrollMode", int area, bool pagewise);

Parameter

Parameter Description
trendObj Trend for which the attributed should be get.
area ID of the area for which the attribute should be get.
pagewise Scroll mode of the viewport widget.

Description

The function allows to define how the viewport widget should react to scrolling. Following options are available:

  • TRUE (default) - By clicking outside of the viewport widget the view scrolls on page (like a standard scroll bar)
  • FALSE - The viewport increases the selected time frame to match the position of the cursor.

Assignment

Trend