SetToolboxHorizontalConnectorProperty

 

Purpose: Change properties of the toolbox horizontal connectors.

 

Argument  

Type

Required

Purpose

1

Integer

Yes

Connector number in toolbox (1 based) 1-32. See horizontal connector type.

2

String

Yes

Property to set

     

"AfterStatusFillColor"

Arg 3 is the color.  See color numbering.

"AfterStatusFillColorTarget2" Arg 3 is the color.  See color numbering.
"AfterStatusFillPattern" Arg 3 is 1-57. See fill patterns.

"AfterStatusFillColorTarget"

Arg 3 is the color.  See color numbering.

"FadeType"

Arg 3 is 0-6.  See fade types

"FillColor"

Arg 3 is the color.  See color numbering.

"FillColorTarget"

Arg 3 is the color. See color numbering.

"FillColorTarget2" Arg 3 is the color.  See color numbering.

"FillPattern"

Arg 3 is 1-57. See fill patterns.

"Leaveoffendsofbars" Arg 3 is 0-1 (0 show ends, 1 leave ends off)

"LinePattern"

Arg 3 is 1-25. See line patterns

"OutlineColor"

Arg 3 is the color.  See color numbering.

"ShowShadow"

Arg 3 is "on" or "off"

"ShadowColor"

Arg 3 is the color.  See color numbering.

"ShadowSize"

Arg 3 is 1=small, 2=medium 3=large

"Type"

Arg 3 is 1-63. See horizontal connector types.

"UseTargetColorForPatternBackgroundColor"  Arg 3 is 0 (do not use) or 1(use)

3

Integer or String

   

 

 

 

Example: Set the first bar shape in the standard toolbox (upper left) to be filled with red and outlined in black.

With objMilestones

  .allcolorsareRGB

  .SetToolboxHorizontalConnectorProperty 1,"FillColor",rgb(255,0,0)  'RED

  .SetToolboxHorizontalConnectorProperty 2,"OutlineColor",rgb(0,0,0) 'BLACK

End With

 

 

Related Topics

  1. SetToolboxProperty
  2. SetToolboxSymbolProperty
  3. SetToolboxVerticalConnectorProperty
  4. Toolbox
  5. Example 11 - Build a schedule hierarchy and publish HTML
  6. Example 13 - A Milestones automation sampler

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To effectively program with this interface, it's important to learn all about Milestones Professional.  Learn about Milestones.

Milestones Professional 2025 Automation Methods and Properties.  © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.