ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Gantt Chart functions
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
Indicates if a day of the week is a working day in a Gantt Chart column in a Table or TreeView Table control.
Example
GanttWorkingWeekDay(COL_Gantt, 6, True) // Saturday is a working day
GanttWorkingWeekDay(COL_Gantt, 7, False) // Sunday is not a working day
Syntax
GanttWorkingWeekDay(<Gantt column> , <Day number> , <Working>)
<Gantt column>: Control name
Name of the Gantt Chart column found in a Table (or TreeView Table) control to use.
<Day number>: Integer
Number corresponding to the day of the week to use:
  • 1: Monday,
  • 2: tuesday,
  • 3: Wednesday,
  • 4: Thursday,
  • 5: Friday,
  • 6: Saturday,
  • 7: Sunday.
<Working>: Boolean
  • True: if the day is a working day.
  • False: if the day is not a working day.
Remarks
  • Non-working days are used to calculate the end date of a task according based on its duration.
    For example, a 2-day task that starts on a Friday will end on Monday if Saturday and Sunday are non-working days.
  • If the duration of the tasks is specified in hours (DurationInHour property of the GanttTask variable), the working hours are also used to calculate the end date.
  • The non-working days are Saturday and Sunday by default.
  • The bank holidays defined by BankHolidayAdd are considered as being non-working days.
Component: wd290mdl.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help