BoxLinks Method

Specifies the appearance of link lines in the active Network Diagram.

Syntax

expression**.BoxLinks((Style, ShowArrows, ShowLabels, ColorMode, CriticalColor, NoncriticalColor)**

*expression   *     Optional. An expression that returns an Application object.

Style    Optional Long. Specifies the style of link lines. Can be one of the following PjLinkStyle constants: pjLinkStraight or pjLinkRectilinear.

ShowArrows    Optional Boolean. True if link lines have arrows showing the direction of the link.

ShowLabels    Optional Boolean. True if link lines have labels showing the link type.

PjColorLinkMode

Constant Description
pjColorModeCustom Link line colors are specified with CriticalColor and NoncriticalColor.
pjColorModePredecessor Link lines are the same color as the border of the predecessor box.

PjColor

pjColorAutomatic pjNavy
pjAqua pjOlive
pjBlack pjPurple
pjBlue pjRed
pjFuchsia pjSilver
pjGray pjTeal
pjGreen pjYellow
pjLime pjWhite
pjMaroon  

NoncriticalColor    Optional Long. The color of link lines between noncritical tasks. If ColorType is pjColorModePredecessor, NoncriticalColor is ignored. Can be one of the PjColor constants. The default value is pjBlack.

Remarks

If no arguments are specified, the BoxLinks method has no effect.

Applies to | Application Object

See Also | BoxLayout Method | LayoutSelectionNow Method