Addressing individual Gantt bars
Posted: Tue Aug 02, 2005 9:36 am
When creating a bar in a Gantt diagram with e.g. AddGanttColor, the function returns a index value as, according to the help file, can be used to address the bar.
When I create multiple bars on each line, the returned index value is re-used sometimes (have not figured out the pattern) and is therefore not useable for identifying each individual bar. Why is that? Have I misunderstood the concept of the returned index value?
What I need is to be able to identify what individual bar is being clicked. Is there a way of accomplishing this by other means than the above mentioned index value?
Thanks!
Jon
When I create multiple bars on each line, the returned index value is re-used sometimes (have not figured out the pattern) and is therefore not useable for identifying each individual bar. Why is that? Have I misunderstood the concept of the returned index value?
What I need is to be able to identify what individual bar is being clicked. Is there a way of accomplishing this by other means than the above mentioned index value?
Thanks!
Jon