ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The NbDayDisplayed property is used to:
  • get and change the number of days displayed in an Organizer or Scheduler control.
  • WINDEV get the number of days displayed in a Gantt Chart control in a report.
Remark: This number of days is used for the display in "week" mode only.
Example
// Displays 2 days in the Scheduler control
SCH_Scheduler1.NbDayDisplayed = 2
Syntax

Finding out the number of days displayed Hide the details

<Result> = <Control used>.NbDayDisplayed
<Result>: Integer
Number of days displayed in the control.
<Control used>: Control name
Name of the control used:
  • Organizer control.
  • Scheduler control.
  • WINDEV Gantt Chart control in a report

Modifying the number of days displayed Hide the details

<Control used>.NbDayDisplayed = <New Number of Days>
<Control used>: Control name
Name of the control used:
  • Organizer control.
  • Scheduler control.
<New Number of Days>: Integer
Number of days that must be displayed in the control.
Remarks
  • Using the OrganizerChangeMode function:
    OrganizerChangeMode is used to modify the time range displayed by an Organizer control (Day/Week/Month). If the number of days displayed was configured with the NbDayDisplayed property, OrganizerChangeMode overwrites this value with the value specified in the function call.
  • Using the SchedulerChangeMode function:
    SchedulerChangeMode is used to modify the time range displayed by a Scheduler control (Day/Week/Month). If the number of days displayed was configured with the NbDayDisplayed property, SchedulerChangeMode overwrites this value with the value specified in the function call.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/03/2022

Send a report | Local help