public ValueList NextTasks {get;}

Remarks


The NextTask property is a TList component that holds the Gantt bar index each Gantt bar is connected to.

When a Gantt bar is added to TGanttSeries, it's NextTask value is assigned to -1 by default. That means the Gantt bar is NOT connected to any other Gantt Bar.

You need to set a valid bar index to NextTask.

Example


[C#]

You can use the following code to connect two gannt bars with line:  
    
Gantt1.FillSampleValues(6) 
Gantt1.NextTasks(1) = 5 'Connect 2nd bar to 6th bar
    

See Also

Gantt Class | Gantt Members | Steema.TeeChart.Styles Namespace