Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
EA_OnTabChanged
Topics
Topic |
Detail |
See also |
---|---|---|
Details |
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 the following elements:
Parameter |
Type |
Direction |
Description |
---|---|---|---|
DiagramID |
Long |
IN |
The diagram ID, or 0 if switched to an Add-In tab.
|
Repository |
IN |
An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.
|
|
TabName |
String |
IN |
The name of the tab to which focus has been switched.
|
Return Value
None