DeleteSymbol

 

Purpose: Delete a symbol from a task row .

 

Return Value: None

 

Argument  

Type

Required

Purpose

1

Integer

Yes

Task Row (1 based)

2

Integer

Yes

Symbol Number (1 based)

If this number is  -1 then all symbols on the row will be deleted.

 

 

 

Example: Delete the second symbol from row 3.

With objMilestones

  .DeleteSymbol 3, 2

  .SortSymbols 3

  .Refresh

.End With

 

 

If a symbol that has a connection originating from it is deleted, then the connector bar disappears also.  The symbols in a line should be sorted after each deletion is done to maintain the proper order and connectivity. The SortSymbols call fixes connections that need to be altered because of deleted or reordered symbols.

 

 

Related Topics

  1. DeleteColumn
  2. DeleteTaskLine
  3. SetSymbolProperty

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.