Help / WLanguage / WLanguage functions / Controls, pages and windows / Scheduler functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
SchedulerChangeMode (Function)
In french: PlanningChangeMode
Modifies the period (which means the number of days) displayed by a Scheduler control.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Scheduler controls found in a report.
// Click on BTN_Day
SchedulerChangeMode(SCH_Schedule, schModeDay)
// Click on BTN_Week
SchedulerChangeMode(SCH_Schedule, schModeWeek)
// Click on BTN_Month
SchedulerChangeMode(SCH_Schedule, schModeMonth)
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:
schModeAccordingAptDisplays the Scheduler control over the number of days that show all available appointments.
AndroidiPhone/iPad This constant is not available.
schModeCustomNbDayDisplays the Scheduler control over the number of days specified in <Number of days>.
schModeDayDisplays the Scheduler control over a day.
schModeMonthDisplays the Scheduler control over a month.
schModeWeekDisplays 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.
Component: wd300mdl.dll
Minimum version required
  • Version 16
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help