Extending product function with VBA > System Architect events
  
System Architect events
There might be occasions when control needs to be exercised over what action a user performs and the response of System Architect to those actions. This might be to prohibit certain operations, provide warnings, and enforce behavior or to perform additional operations. On those occasions it is necessary to identify the action explicitly at the time of its occurrence and to respond accordingly.
Actions that occur at a given point of time are referred to as Events and these can be handled in System Architect as and when they occur.
System Architect recognizes a number of events such as when a symbol is placed on a diagram, a diagram is saved, or an encyclopedia is opened.
Application events
AuditIDChanged
DiagramClose
DiagramOpen
DiagramSave
EditDefinitionPostApply
EditDefinitionPostOK
EncyClose
EncyOpen
MainMenuUpdate
MethodMenuUpdated
ReportsMenuUpdate
ToolsMenuUpdate
ShowNode
ShutDown
StartUp
SymbolEvent
Using application events
AuditIDChanged
DiagramClose
DiagramOpen
DiagramSave
EncyClose
EncyOpen
MainMenuUpdate
MethodMenuUpdated
ReportsMenuUpdate
ToolsMenuUpdate
ShowNode
ShutDown
StartUp
SymbolEvent
Guidelines for adding macro items to menus programmatically
Adding a macro to a standard System Architect menu
Using the events
Adding a popup
Adding macro items to a popup
Adding a popup to a System Architect menu
Adding a separator to a menu item
Removing an item from a menu
See also
Introduction to extending SA with VBA