Set symbol position via automation

Question:     

I can't seem to find a way to set the position of a symbol (upper/middle/lower) via automation.  Is there a way to do this?

 

Answer:

This can be done for individual symbols (using SetSymbolProperty) and can also be set in the toolbox (SetToolboxSymbolProperty).

To change the level of an individual symbol, use the "VerticalLevel" property for the SetSymbolProperty method. (0=middle, 1=upper, 2=lower)

Example: Set the 3rd symbol on the 1st row to the upper level:

.SetSymbolProperty(1,3,"VerticalLevel",1)

To make this setting in the toolbox, use the "VerticalLevel" property for the SetToolboxSymbolProperty method.  (0=middle, 1=upper, 2=lower)

Example:  Set the third toolbox symbol to the lower level:

.SetToolboxSymbolProperty(3,"VerticalLevel",2)

 

For complete Automation (programming) help, choose Help | Automation Help.

 

 

 

 

 

 


 

Related topics

Automation interface to Milestones

Adjust task row height with automation

Putcell method and column numbering

Licensing for automation

 

 

 

 

 

Applies to Milestones Professional:      2019        2021        2023        2025

 

 

 

 

      

The fast easy way to schedule your projects:  Milestones Software by KIDASA Software, Inc. www.kidasa.com

Copyright © 2025 KIDASA Software, Inc. All rights reserved.