Returns the display mode of a Scheduler control: day, week, month, ...
nMode is int = SchedulerMode(SCH_MySchedule)
IF nMode = schModeDay THEN
SCH_MyScheduler..GranularityAppointment = 15 // 15 minutes in Day mode
<Result> = SchedulerMode(<Scheduler control>)
Time interval displayed by the Scheduler control:
|schModeAccordingApt||Schedule that displays a number of days allowing you to see all the available appointments.|
|schModeCustomNbDay||Schedule for a specific number of days.|
|schModeDay||Schedule for a day.|
|schModeMonth||Schedule for a month.|
|schModeWeek||Schedule for a week of 5 days or for a week of 7 days.|
<Scheduler control>: Control name
Name of Scheduler control to use. This control can correspond to:
- the Scheduler control of a window,
- the Scheduler control of a page,
- the Scheduler control of a report.