Book a Demo

Author Topic: EA Addin - Event to capture when element dropped onto another element ?  (Read 5916 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Hi,

Anyone know the event that is fired / i capture when an element is dragged and dropped onto another element on a diagram please ? Better still anyone have some sample code of how to handle ?

I want to write an add-in that gives the user the option of forming a relationship between an element on a diagram and one dragged/dropped from the project browser onto it (and not add the element dragged/dropped onto the diagram - ie just form the relationship).

Thanks,

Jon,

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA Addin - Event to capture when element dropped onto another element ?
« Reply #1 on: October 24, 2020, 01:07:53 am »
Have you tried EA_OnPreDropFromTree

Geert

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: EA Addin - Event to capture when element dropped onto another element ?
« Reply #2 on: October 26, 2020, 07:46:03 pm »
No, but i will now. Thanks Geert  :)