PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Indicates whether a day of the week is worked in a column of an Table control (or hierarchical table) of type Gantt Chart.
Example
GanttWorkingWeekDay(COL_Gantt, 6, True) // Samedi ouvré
GanttWorkingWeekDay(COL_Gantt, 7, False) // Dimanche non ouvré
Syntax
GanttWorkingWeekDay(<Gantt column> , <Day number> , <Working>)
<Gantt column>: Character string (with or without quotes)
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
  • The non-working days are used to calculate the end date of a task according to 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: wd260mdl.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment