method Schedule.EnsureVisible (Date as Variant)
Ensures that the specified date fits the client area of the schedule view.

TypeDescription
Date as Variant A DATE expression that specifies the date to be shown in the schedule view.
The EnsureVisible method ensures that giving date fits the schedule's view. The EnsureVisible method does not select a date, and it scrolls the schedule view so it ensures that the panel shows the specified date. You can use the OnSelectDate property to specifiy the action to perform once the user clicks or selects a date in the calendar panel. The DayViewWidth property specifies the width, in pixels, of the date in the schedule panel. The DayViewOffsetX property indicates the horizontal scroll position of the schedule's view. The DayViewHeight property specifies the height, in pixels, of the date in the schedule panel. The DayViewOffsetY property indicates the vertical scroll position of the schedule's view.