I have a series of tasks that I add to a gantt series through code.
Some tasks are dependent on other tasks.
How do I link one gantt task(bar) to another (a dependent task) and get it to show the connecting line.
connecting Gantt bars dynamically
You can use the following code to connect two gannt bars with line:
Code: Select all
Gantt1.FillSampleValues(6)
Gantt1.NextTasks(1) = 5 'Connect 2nd bar to 6th bar
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
Hi,
Thanks ! .
Yes, you're correct, I've writed down to add info for the next releases.I thought it might have been something to do with the NextTasks, but there wasn't any info in the help file.
Thanks ! .
Pep Jorge
http://support.steema.com
http://support.steema.com