Type | Description | |||
Variant | A single date or a safe array of dates to be included in the schedule chart when selection is changed. |
The following VB samples ensures that the schedule-view displays at least 3 days ( a day before selected date, the selected date , and a day after the selected date ) when the user selects a date in the calendar panel:
With Schedule1.Calendar .OnSelectDate = exFitSelToView .FitSelToView = Array(-1, 1) End With
In other words, use the FitSelToView property to specify the dates to be included in the schedule view when user changes the selection in the calendar panel.