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
COL_Gantt.DeleteLink("T2")
MyGanttLink is GanttLink
...
COL_Gantt.DeleteLink(MyGanttLink)
Syntax

Deleting all the links to a task Hide the details

<Gantt column>.DeleteLink(<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

<Gantt column>.DeleteLink(<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

<Gantt column>.DeleteLink(<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.
Component: wd290mdl.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help