HeaderPane
Main
Hide
Share Link
Print

ScrollMonths Property, SftDateCalendar Object

Defines the number of months scrolled by the previous and next buttons (0 for the number of months shown).

Syntax

Get

C#int Months = object.ScrollMonths;
VB.NETMonths = object.ScrollMonths As Integer
C++long Months = object->ScrollMonths;
long Months = object->GetScrollMonths();
CHRESULT object->get_ScrollMonths(long* Months);

Put

C#int object.ScrollMonths = Months;
VB.NETobject.ScrollMonths = Months As Integer
C++long object->ScrollMonths = Months;
void object->PutScrollMonths(long Months);
CHRESULT object->put_ScrollMonths(long Months);

object

A SftDateCalendar object.

Months

Defines the number of months scrolled by the previous and next buttons (0 for the number of months shown).

Comments

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


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.