前页 | 后页 |
EA_OnTabChanged
EA_OnTabChanged notifies Add-Ins that the currently open tab has changed.Diagrams do not generate the message when they are first opened - use the broadcast event EA_OnPostOpenDiagram for this purpose.
Syntax
Function EA_OnTabChanged (Repository As EA.Repository, TabName As String, DiagramID As Integer)The EA_OnTabChanges function syntax contains these parameters.
Parameter |
Type |
See also |
---|---|---|
Repository |
EA.Repository Direction: IN Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information. |
Repository Class |
TabName |
String Direction: IN Description: The name of the tab to which focus has been switched. |
|
DiagramID |
Long Direction: IN Description: The diagram ID, or 0 if switched to an Add-In tab. |