|
|
|
|
Remark: These functions are also available in prefix syntax ( Gantt functions (prefix syntax)). The following functions are used to handle a Gantt Chart column found in Table control (or in a TreeView Table control):
| | GanttAddHoliday | Defines a new holiday period on a row in a Gantt Chart column of a Table or TreeView Table control. | GanttAddLink | Creates an "End to Start" link between two tasks displayed in a Gantt Chart column found in a Table (or TreeView Table) control. | GanttAddTask | Adds a task in a Gantt Chart column in a Table or TreeView Table control. | GanttChangeMode | Modifies the period (which means the number of days) displayed in a Gantt Chart column found in a Table (or TreeView Table) control. | GanttDateTimePosition | Configures the first day and the first time displayed in a Gantt Chart column (found in a Table or TreeView Table control). | GanttDeleteAll | Removes all tasks from a Gantt Chart column in a Table or TreeView Table control. | GanttDeleteLink | Removes links from a Gantt Chart column in a Table or TreeView Table control. | GanttDeleteTask | Removes a task from a Gantt Chart column in a Table or TreeView Table control. | GanttGetTask | Gets a task using its identifier in a Gantt Chart column in a Table or TreeView Table control. | GanttListLink | Lists the links found in a Gantt Chart column found in a Table (or TreeView Table) control. | GanttListTask | Returns: - the list of tasks between two given dates in a Gantt Chart column,
- all the tasks in a Gantt Chart column,
- a specific task (selected or hovered).
| GanttOrganizeTask | Reorganizes the tasks of a Gantt chart according to the constraints (dependencies and resources). | GanttTimeDisplayed | Defines the time range displayed in a column of a Table or TreeView Table control of type Gantt Chart. | GanttWorkingHour | Overwrites the working hours on a row in a Gantt Chart column of a Table (or TreeView Table) control. | GanttWorkingWeekDay | Indicates if a day of the week is a working day in a Gantt Chart column in a Table or TreeView Table control. |
Two types of variables can be used to handle the elements found in the Gantt charts:
| | GanttLink | The GanttLink type is used to define the advanced characteristics of a link between two tasks of a Gantt chart. | GanttTask | The GanttTask type is used to define the advanced characteristics of a task for a Gantt chart. |
Related Examples:
|
Complete examples (WINDEV): WD Gantt
[ + ] The "WD Gantt" example presents an advanced use of the Gantt Chart control. This example is used to create a Gantt chart with tasks, links, cumulative tasks and milestones. The tasks can be edited in a specific window. The created chart can be saved in a file and reloaded thereafter.
|
|
Unit examples (WINDEV): The Gantt control
[ + ] Using a Gantt Chart control
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|