|
|
|
|
GanttWorkingWeekDay (Function) In french: GanttJourSemaineOuvré Indicates if a day of the week is a working day in a Gantt Chart column in a Table or TreeView Table control. 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|