|
|
|
|
|
<Scheduler>.ChangeMode (Function) In french: <Planning>.ChangeMode Modifies the period (which means the number of days) displayed by a Scheduler control.
// Click on BTN_Day SCH_Scheduler.ChangeMode(schModeDay) Â // Click on BTN_Week SCH_Scheduler.ChangeMode(schModeWeek) Â // Click on BTN_Month SCH_Scheduler.ChangeMode(schModeMonth)
Syntax
<Scheduler control>.ChangeMode(<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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|