ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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> , <Identifier of Source Task> , <Identifier of Destination Task>)
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Identifier of Source Task>: 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.
<Identifier of Destination Task>: Character string
Identifier of the destination 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: wd280mdl.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment