PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Declares a new holiday period for a row in a Gantt Chart column found in a Table (or TreeView Table) control.
Example
// Holidays for row 4, Tuesday 4 February 2014
GanttAddHoliday(COL_Gantt, 4, "20140204", "20140204")
Syntax
GanttAddHoliday(<Gantt Column> , <Row> , <Start Date> , <End Date>)
<Gantt Column>: Control name
Name of Gantt Chart column (found in a Table or TreeView Table control) to use.
<Row>: Integer
Number of the row where the holidays will be declared.
Note: The row associated with a task is returned by the ..Row property of 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.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment