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
Overloads the working hours of a row in a Gantt Chart column found in a Table (or TreeView Table) control.
Example
// For row 2, the working hours go from 9:30 to 12:00 then from 13:00 to 18:30
GanttWorkingHour(COL_Gantt, 2, "0930", "1200", "1300", "1830")
// For row 3, the working hours go from 10:00 to 17:00
GanttWorkingHour(COL_Gantt, 3, "1000", "1700")
Syntax
GanttWorkingHour(<Gantt Column> , <Row> , <Start Time> , <End Time> [, <Start Time 2> [, <End Time 2>]])
<Gantt Column>: Character string (with or without quotes)
Name of the Gantt Chart column (found in a Table or TreeView Table control) to use.
<Row>: Integer
Number of the row to modify.
Note: The row associated with a task is returned by the ..Row property of GanttTask variable.
<Start Time>: Character string or Time variable
Start time of the first working time period.
<End Time>: Character string or Time variable
End time of the first working time period.
<Start Time 2>: Character string or Time variable
Start time of the second working time period.
<End Time 2>: Character string or Time variable
End time of the second working time period.
Remarks
  • For the non-specified rows, the hours used are:
  • This function affects the drawing of the Gantt chart if the hours are displayed in the Gantt chart.
  • This function affects the calculation of the task duration if the tasks are specified in hours.
  • Two time periods can be used to define the working hours for the morning and for the afternoon for example.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment