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
Removes links from a Gantt Chart column in a Table or TreeView Table control.
Example
// Deletes the links from the T2 task
GanttDeleteLink(COL_Gantt, "T2")
MyGanttLink is GanttLink
...
GanttDeleteLink(COL_Gantt, MyGanttLink)
Syntax

Deleting all the links to a task Hide the details

GanttDeleteLink(<Gantt column> , <Task identifier>)
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Task identifier>: Character string
Identifier of the task from which all the links must be deleted. This identifier corresponds to the ID property defined in the GanttTask variable.
The function has no effect if the identifier does not exist.

Deleting the links from a task to another task Hide the details

GanttDeleteLink(<Gantt column> , <Source Task identifier> , <Destination Task identifier>)
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Source Task identifier>: Character string
Identifier of the source task of links to delete. This identifier corresponds to the ID property defined in the GanttTask variable.
The function has no effect if the identifier does not exist.
<Destination Task identifier>: Character string
Identifier of the target task of links to delete. This identifier corresponds to the ID property defined in the GanttTask variable.
The function has no effect if the identifier does not exist.

Deleting the specified link Hide the details

GanttDeleteLink(<Gantt column> , <Link to delete>)
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Link to delete>: GanttLink variable
Name of the GanttLink variable to remove.
Related Examples:
WD Gantt 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.
Component: wd290mdl.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/26/2023

Send a report | Local help