Book a Demo

Author Topic: Suppress new attribute default dialog box?  (Read 2867 times)

harvinder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Suppress new attribute default dialog box?
« on: July 13, 2011, 11:05:20 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.


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.