Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
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 |
---|---|---|
DiagramID |
Long Direction: IN Description: The diagram ID, or 0 if switched to an Add-In tab. |
|
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. |
Return Value
None
Learn more