Gantt bar links?

G

G Lykos

You can turn the graphical task dependency links on and off using method
GanttBarLinks Display:=pjNoGanttBarLinks, pjToTop, pjToEnd. Several related
questions:

1. How do you read the current state?
2. The Bar Link button seems to only serve to turn off the links. Is there
a button that turns them on? Is there a standard button that toggles the
links on and off?

Thanks,
George
 
J

John

G Lykos said:
You can turn the graphical task dependency links on and off using method
GanttBarLinks Display:=pjNoGanttBarLinks, pjToTop, pjToEnd. Several related
questions:

1. How do you read the current state?
2. The Bar Link button seems to only serve to turn off the links. Is there
a button that turns them on? Is there a standard button that toggles the
links on and off?

Thanks,
George

George,
Since it is a display attribute I suspect detecting the current state of
Gantt bar links is the same as with text formatting, it is one of those
write/set attributes only. At least with text formatting it can often be
determined indirectly by "reading" the criteria that was used to set the
formatting, but with Gantt bar links I know of no way to read their
style indirectly. However, you should be able to set it to whatever
style you want, including none at all. If that style was already in
effect there will be no change but if it wasn't, then the new style will
take precedence.

With regard to the "bar link button", where exactly is that button?

John
Project MVP
 
G

G Lykos

John, thanks for your thoughts on Gantt bar link state determination.

To your question - Gantt Bar Links is a command available in Customize
Toolbars. It is listed as Gantt Bar Links, and the button when assigned
carries the legend Bar Links. Near as I can tell, it is programmed to
assert 'no links' (only), observed in Project 98 and Project 2003 Pro.

Regards,
George
 
R

Rod Gill

Help suggests it should toggle the lines being visible but in 2003, as you
say, it only hides them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top