Extending product function with VBA > The System Architect object model > Object model classes > Application class > Application class: Methods > InsertPopUpMenuItemInMenuEx
  
InsertPopUpMenuItemInMenuEx
Creates a pop up menu item in to an existing System Architect menu item. This method is an extension of the InsertPopUpMenuItemInMenu method.
Syntax
Application Object.InsertPopupMenuItemInMenuEx PopUpName, InMenuTitleCaption[, BeforeTitleCaption[, bAfterSeparator]]
Parameters
Application Object
Use: Required
Data type: Object
Any instantiated Application class
PopUpName
Use: Required
DataType: String
Name of created popup menu
InMenuTitleCaption
Use: Required
Data type: String
Name of existing System Architect popup menu where new popup menu is being placed
BeforeMenuItemCaption
Use: Optional
Data type: String
Name of existing System Architect menu item the new popup menu is being placed before. If not specified, new popup menu is placed at the bottom of the existing popup menu.
bAfterSepartor
Use: Optional
DataType: Boolean
Only used when the existing menu item, which the user is placing the macro item in front of, has a separator line before it. If entered as True, then the macro item is placed after the separator line. If entered as False or left blank, then the macro item is automatically placed before the separator line.
See also
Application class: Methods