Upgrading and migrating > Converting encyclopedias to current version > Modifying macros created with older System Architect versions > Guidelines for adding macro items to menus programmatically > Removing a popup menu
  
Removing a popup menu
Since all popups and tools which are added to the menu system remain even after System Architect has been restarted, it might become necessary to remove a popup menu which is no longer required. The App.RemovePopUpMenu(<PopupName>) method completely removes the popup from the menu system.
If this method is used in a macro, say at System Architect shutdown, the popup and all its customization will be removed every time that System Architect shuts down. This would have the effect that customization of this popup is not kept between System Architect sessions.
See also
Guidelines for adding macro items to menus programmatically