Page 1 of 1
connecting Gantt bars dynamically
Posted: Wed Sep 08, 2004 12:44 pm
by 8126262
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.
Posted: Wed Sep 08, 2004 2:39 pm
by Marjan
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
Posted: Thu Sep 09, 2004 7:14 am
by 8126262
Thank you, I'll give it a try...
I thought it might have been something to do with the NextTasks, but there wasn't any info in the help file.
Posted: Thu Sep 09, 2004 9:44 am
by Pep
Hi,
I thought it might have been something to do with the NextTasks, but there wasn't any info in the help file.
Yes, you're correct, I've writed down to add info for the next releases.
Thanks ! .