Upgrading and migrating > Converting encyclopedias to current version > Modifying macros created with older System Architect versions > Guidelines for adding macro items to menus programmatically > Adding a popup to a System Architect menu
  
Adding a popup to a System Architect menu
Add a popup to a System Architect menu in exactly the same way you add a macro item to a menu, except use InsertPopupMenuItemInMenu and do not specify a macro name.
Example
InsertPopupMenuItemInMenu(PopUpName as String, InMenuTitleCaption as String, [BeforeMenuItemCaption as string]) as long
See also
Guidelines for adding macro items to menus programmatically