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
Deletes the links from a Gantt Chart column found in a Table (or TreeView Table) control.
Example
// Deletes the links from the T2 task
GanttDeleteLink(COL_Gantt, "T2")
Versions 20 and later
MyGanttLink is GanttLink
...
GanttDeleteLink(COL_Gantt, MyGanttLink)
New in version 20
MyGanttLink is GanttLink
...
GanttDeleteLink(COL_Gantt, MyGanttLink)
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>: Character string (with or without quotes)
Name of the Gantt Chart column (found in a Table or TreeView Table control) to use.
<Task Identifier>: Character string (with quotes)
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>: Character string (with or without quotes)
Name of the Gantt Chart column (found in a Table or TreeView Table control) to use.
<Identifier of Source Task>: Character string (with quotes)
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 (with quotes)
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.
Versions 20 and later

Deleting the specified link Hide the details

GanttDeleteLink(<Gantt Column> , <Link to Delete>)
<Gantt Column>: Character string (with or without quotes)
Name of the Gantt Chart column (found in a Table or TreeView Table control) to use.
<Link to Delete>: GanttLink variable
Name of the GanttLink variable to delete.
New in version 20

Deleting the specified link Hide the details

GanttDeleteLink(<Gantt Column> , <Link to Delete>)
<Gantt Column>: Character string (with or without quotes)
Name of the Gantt Chart column (found in a Table or TreeView Table control) to use.
<Link to Delete>: GanttLink variable
Name of the GanttLink variable to delete.

Deleting the specified link Hide the details

GanttDeleteLink(<Gantt Column> , <Link to Delete>)
<Gantt Column>: Character string (with or without quotes)
Name of the Gantt Chart column (found in a Table or TreeView Table control) to use.
<Link to Delete>: GanttLink variable
Name of the GanttLink variable to delete.
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.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment