|
|
|
|
SchedulerChangeMode (Function) In french: PlanningChangeMode Modifies the period (which means the number of days) displayed by a Scheduler control.
// Click on BTN_Day SchedulerChangeMode(SCH_Schedule, schModeDay) // Click on BTN_Week SchedulerChangeMode(SCH_Schedule, schModeWeek) // Click on BTN_Month SchedulerChangeMode(SCH_Schedule, schModeMonth)
Syntax
SchedulerChangeMode(<Scheduler control> , <Display mode> [, <Number of days>])
<Scheduler control>: Control name Name of the Scheduler control used. This control can correspond to: - the Scheduler control of a window,
- the Scheduler control of a page,
- the Scheduler control of a report.
<Display mode>: Integer constant Time range that must be displayed in the Scheduler control: | | schModeAccordingApt | Displays the Scheduler control over the number of days that show all available appointments. | schModeCustomNbDay | Displays the Scheduler control over the number of days specified in <Number of days>. | schModeDay | Displays the Scheduler control over a day. | schModeMonth | Displays the Scheduler control over a month. | schModeWeek | Displays the Scheduler control over a 5-day or 7-day week. The number of days is specified in <Number of days>. The first day displayed is the first day of the week defined in the description window of the Scheduler control. |
<Number of days>: Optional integer Number of days displayed. This parameter is taken into account only if <Display mode> corresponds to the schModeCustomNbDay constant or to the schModeWeek constant. Otherwise, a WLanguage error occurs.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|