|
|
|
|
|
Creates an "End to Start" link between two tasks displayed in a Gantt Chart column found in a Table or TreeView Table control. // Create the tasks then the link t1 is GanttTask t1.ID = "T1" t2 is GanttTask t2.ID = "T2" GanttAddLink(COL_Gantt, t1.ID, t2.ID) // Other syntax by specifying the type of link GanttAddLink(COL_Gantt, t1.ID, t2.ID, gltEndToStart)
// Create a link via a GanttLink variable Link is GanttLink Link.SourceID = "T1" Link.DestinationID = "T2" Link.Type = gltEndToStart GanttAddLink(COL_Gantt, Link)
Sintaxis
Creating a link between two existing tasks Ocultar los detalles
GanttAddLink(<Gantt column> , <Source Task identifier> , <Destination Task identifier> [, <Type of link>])
<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 the link. <Destination Task identifier>: Character string Identifier of the target task of the link. <Type of link>: Integer constant Type of link to add: | | gltEndToEnd | "End-to-End" link: The destination task cannot finish before the source task is completed. | gltEndToStart (default value) | "Finish-to-Start" link: The destination task cannot start until the source task is completed. | gltStartToEnd | Link of type "Start to Finish": The destination task cannot be completed before the source task has started (rare case). | gltStartToStart | "Start-to-Start" link: The destination task cannot start before the source task has started. |
<Gantt column>: Control name Name of the Gantt Chart column (in a Table or TreeView Table control) to be used. <Link>: GanttLink variable Name of the GanttLink variable describing the link to create. Observaciones - The function has no effect if the link already exists.
- If one of the identifiers does not exist, the link is inactive: the link is not displayed and has no effect.
- According to their types, the links are drawn on the start or end borders of the tasks.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|