SetToolboxSymbolProperty

Purpose: Change properties of the toolbox symbols.

Returns: none

Argument  

Type

Required

Purpose

1

Integer

Yes

Symbol number in toolbox (1 based) 1-64. See symbol numbering.

2

String

Yes

Property to set

     

"AfterStatusType"

If "Fill to status" is set for symbols on the schedule, then it's possible to use an after status shape.  Integer (1-137)

"CustomDateFormat"

Arg 3 is the custom date format.

"DateBack"

Background for the symbol date. Arg 3 is "Transparent" or "Opaque"

"DatePosition"

Position of the symbol date. Arg 3 is the position. See text positions.

"FillColor"

Arg 3 is the color. See color numbering.

"FillColorAfterStatus"

Arg 3 is the color. See color numbering..

"Highlight"

Arg 3 is 0 or 1

"LetterMark"

Arg 3 is "M", where M is the letter marking (use any letter or number).

"MarkingOverlay"

Arg 3 can be from 0-20.  These values map to the 21 options available in the Marking dropdown in the Symbol Options dialog. The 0 value means no marking as this is the default.

"OutlineColor"

Arg 3 is the color. See color numbering.

"ShadowColor"

Arg 3 is the color. See color numbering.

"ShadowSize"

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

"ShowShadow"

Arg 3 is "On" or "Off"

"Special"

Same as "Usage" (above)

"SymbolSize"

Symbol size. Arg 3 is the size.  Valid values are from 0.0 to 5.0 (0.0 means reset to default, .1 to 5.0 are valid override size options).

"TextBack"

Background for the symbol text. Arg 3 is "Transparent" or "Opaque"

"TextPosition"

Position of the symbol text. Arg 3 is the position. See text positions.

"Type"

Symbol shape. Arg 3 is 1-137. See symbol shapes.

"Usage"

Arg 3 is "Status" or "Comment" or "Baseline"  

"VerticalLevel"

Arg 3 is the Vertical Level

3

Variant

   

 

 

 

Example: Set the first symbol shape in the standard toolbox (upper left) to be a diamond.

With objMilestones

  .SetToolboxSymbolProperty 1,"Type",3

End With

  

Related Topics

  1. SetToolboxHorizontalConnector_Example
  2. SetToolboxProperty
  3. SetToolboxVerticalConnectorProperty
  4. Toolbox

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

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