Delete a symbol from a display using VBA

Discussion created by vegard on Dec 27, 2011
Latest reply on Dec 28, 2011 by vegard

Adding a symbol to a ProcessBook display is done with the following VBA code:

Dim MySymbol As Symbol
Set MySymbol = ThisDisplay.Symbols.Add(pbSymbolTBSymbol)

My question is thus: How can it be removed?

A pbSymbol does not have a .Remove() method as far as I know. Is there another way?

My workaround is simply to remove the visibility of the symbols, but this is a rather poor solution in my humble opinion.