1
Bugs and Issues / No way to disable new attribute dialog box
« on: July 13, 2011, 11:02:58 pm »
The documentation mentions that it is possible to suppress the dialog box that is shown when a new attribute is dragged to say a class (see below the excerpts from the help file of EA 9 v905). However, I have noticed that the dialog box is shown even before the call to EA_OnPreNewAttribute.
Is there any way to suppress the dialog box? I would like to show my own dialog box.
Is there any way to suppress the dialog box? I would like to show my own dialog box.
Quote
EA_OnPostNewAttribute notifies Add-Ins that a new attribute has been created on a diagram. It enables Add-Ins to modify the attribute upon creation.
This event occurs when a user creates a new attribute on an element by either drag-dropping from the Project Browser, using the Attributes Properties dialog, or using the in-place editor on the diagram. The notification is provided immediately after the attribute is created. Set Repository.SuppressEADialogs to true to suppress Enterprise Architect from showing its default dialogs.
Also look at EA_OnPreNewAttribute.