PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Modifies the period (which means the number of days) displayed by a Scheduler control.
Versions 17 and later
Reports and Queries This function can now be used to handle the Scheduler controls found in a report.
New in version 17
Reports and Queries This function can now be used to handle the Scheduler controls found in a report.
Reports and Queries This function can now be used to handle the Scheduler controls found in a report.
Example
// 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 Scheduler control used. This control can correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • Versions 17 and later
    the Scheduler control of a report.
    New in version 17
    the Scheduler control of a report.
    the Scheduler control of a report.
<Display mode>: Integer constant
Time range that must be displayed in the Scheduler control:
schModeDayDisplays the Scheduler control over a day.
schModeMonthDisplays the Scheduler control over a month.
schModeCustomNbDayDisplays the Scheduler control over the number of days specified in <Number of days>.
schModeAccordingAptDisplays the Scheduler control over the number of days that show all available appointments.
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 : wd250mdl.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment