I am using EA Api's "EA_OnPostNewElement" to modify the dropped element from the Toolbox. As soon I drop the element from the toolbox to the diagram, EA properties diaglog is popped up. Even after using
Repository.SuppressEADialogs = true;
How to suppress the EA diaglog if any Element is dropped from the toolbox ?
The documentation says indeed to use Repository.SuppressEADialogs = true;
to disable the standard properties dialog to show up.
If that doesn't work you should probably send in a bug report.
But you can also disable that from the general options by disabling the option Objects | Edit Object on New
Then use the event EA_OnContextItemDoubleClicked to show your own properties dialog and return true
to let EA know that you have handled the double-click event so it doesn't show the default properties dialog anyway.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With