ScrollRate

Applies to

MonthCalendar controls

Description

Specifies the number of months the calendar scrolls when the user clicks a scroll button.

Usage

In a painter

To set the ScrollRate property:

  • Select a number from the ScrollRate spin control on the General page in the Properties view.

In scripts

The ScrollRate property takes an integer value. The default is 1, which means that the calendar scrolls by one month, regardless of how many months display. This example sets ScrollRate to 3:

mc_1.ScrollRate = 3