PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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.
  • Versions 26 and later
    WINDEV get the number of days displayed in a Gantt Chart control in a report.
    New in version 26
    WINDEV get the number of days displayed in a Gantt Chart control in a report.
    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.
Versions 21 and later
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
New in version 21
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
Versions 24 and later
Android This property is now available for Organizer controls in Android applications.
iPhone/iPad This property is now available for Organizer controls in iPhone/iPad applications.
New in version 24
Android This property is now available for Organizer controls in Android applications.
iPhone/iPad This property is now available for Organizer controls in iPhone/iPad applications.
Android This property is now available for Organizer controls in Android applications.
iPhone/iPad This property is now available for Organizer controls in iPhone/iPad applications.
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.
  • Versions 26 and later
    WINDEV Gantt Chart control in a report
    New in version 26
    WINDEV Gantt Chart control in a report
    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