ComponentOne True DBInput Pro 8.0
ScrollMonth Method (TDBCalendar)

Scrolls the calendar month according to the numbers specified. The ScrollMonth method is provided to scroll months from the current view in the calendar. Note that the ScrollRate property will not take effect when calling this method.

Syntax

TDBCalendar.ScrollMonthMonthOffset

Arguments

monthoffset is a required long integer that denotes the number of calendar months to scroll, and the direction in which to scroll them.

Return Value

None

Remarks

Offsets scroll down and negative offsets scroll up.  Month offsets that are out of range will be scrolled automatically to the beginning or the end of the months specified with the MaxDate and the MinDate properties.

See Also

When the StartOfMonth property is set to a value other than 0-Default with 12 months displayed in the calendar view, invoking the ScollMonth method will scroll the view according to the number - monthoffset specified, since the month displayed in the upper left position can not be changed.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback