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
Defines a new holiday period on a row in a Gantt Chart column of a Table or TreeView Table control.
Example
// Holidays for row 4 - February 4, 2022
GanttAddHoliday(COL_Gantt, 4, "20220204", "20220204")
Syntax
GanttAddHoliday(<Gantt column> , <Row> , <Start date> , <End date>)
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Row>: Integer
Number of the row where the holidays will be declared.
Remark: The row associated with a task is returned by the Row property of the GanttTask variable.
<Start date>: Character string or Date or DateTime variable
Start date of holiday period. This date is considered as being included in the holidays.
<End date>: Character string or Date or DateTime variable
End date of holiday period. This date is considered as being included in the holidays.
Remarks
  • The new holiday period is considered as being a non-working period for the row.
  • The duration of the tasks is adjusted according to the specified holiday period.
  • 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