PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
SchedulerChangeMode (Function)
In French: PlanningChangeMode
Modifies the period (which means the number of days) displayed by a Scheduler control.
Versions 17 and later
WINDEVReports and Queries This function can now be used to handle the Scheduler controls found in a report.
New in version 17
WINDEVReports and Queries This function can now be used to handle the Scheduler controls found in a report.
WINDEVReports and Queries This function can now be used to handle the Scheduler controls found in a report.
Versions 21 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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.
New in version 21
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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.
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 schedule on one day.
schModeMonthDisplays the schedule on one month.
schModeCustomNbDayDisplays the schedule on the number of days specified in <Number of Days>.
schModeAccordingAptDisplays the schedule by using a number of days allowing you to see all the available appointments.
AndroidiPhone/iPad This constant is not available.
schModeWeekDisplays the schedule on one week (5 days or 7 days). 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mdl.dll
Linux wd230mdl.so
Android wd230android.jar
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment