1
Automation Interface, Add-Ins and Tools / EA_OnContextItemDoubleClicked
« on: November 07, 2018, 06:54:34 pm »
Hi,
I have preared an add-in for custom proerty and tag editation. The form is activated by doubleclick on the diagram or project browser.
Since EA 14 there is a problem - the EA_OnContextItemDoubleClicked is not fired on doubleclick in ProjectBrowser on package or element containing some sublemenets/diagrams/subpackages.
In documentation i found that it shoud work:
Is it Bug? Or feature? Exists some switch to setup situation when the event will be fired?
Thanks for any info
Zdeněk
I have preared an add-in for custom proerty and tag editation. The form is activated by doubleclick on the diagram or project browser.
Since EA 14 there is a problem - the EA_OnContextItemDoubleClicked is not fired on doubleclick in ProjectBrowser on package or element containing some sublemenets/diagrams/subpackages.
In documentation i found that it shoud work:
Quote
EA_OnContextItemDoubleClicked notifies Add-Ins that the user has double-clicked the item currently in context.(https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/automation/ea_oncontextitemdoubleclicked.html)
This event occurs when a user has double-clicked (or pressed the Enter key) on the item in context, either in a diagram, in the Project Browser or in a custom compartment. Add-Ins to handle events can subscribe to this broadcast function.
Syntax
Function EA_OnContextItemDoubleClicked (Repository As EA.Repository, GUID As String, ot as EA.ObjectType)
The EA_OnContextItemDoubleClicked function syntax contains these parameters.
Is it Bug? Or feature? Exists some switch to setup situation when the event will be fired?
Thanks for any info
Zdeněk