Scrolls the calendar by a number of months, years, decades or centuries (negative values scroll back).
| C# | void object.Scroll(int Periods); |
| VB.NET | object.Scroll(ByVal Periods As Integer) |
| C++ | HRESULT object->Scroll(long Periods); |
| C | HRESULT object->raw_Scroll(long Periods); |
object
Periods
The number of periods to scroll; a negative number scrolls back.
The Scroll method scrolls the calendar by a number of periods of the current view (View): months in the month view, years in the year view, decades in the decade view and centuries in the century view. Scrolling stops at the range defined using MinDate and MaxDate. p The selection and the focused date are not changed.
See Also SftCalendar Object | Object Hierarchy | Calendar Layout