Defines the number of months scrolled by the previous and next buttons (0 for the number of months shown).
Get
| C# | int Months = object.ScrollMonths; |
| VB.NET | Months = object.ScrollMonths As Integer |
| C++ | long Months = object->ScrollMonths; long Months = object->GetScrollMonths(); |
| C | HRESULT object->get_ScrollMonths(long* Months); |
Put
| C# | int object.ScrollMonths = Months; |
| VB.NET | object.ScrollMonths = Months As Integer |
| C++ | long object->ScrollMonths = Months; void object->PutScrollMonths(long Months); |
| C | HRESULT object->put_ScrollMonths(long Months); |
object
Months
Defines the number of months scrolled by the previous and next buttons (0 for the number of months shown).
The ScrollMonths property defines the number of months the previous and next buttons and the Page Up and Page Down keys scroll in the month view. The default is 0, which scrolls by the number of months shown (MonthsAcross, MonthsDown). The mouse wheel scrolls by this number of months for each notch, or by one month if it is 0. A negative value causes an error. p In the year, decade and century views, the buttons always scroll by the number of blocks shown. p The setting applies to a month calendar control and to the dropdown calendar of a date field control.
See Also SftDateCalendar Object | Object Hierarchy | Calendar Layout