Book a Demo

Author Topic: do any EA objects raise events?  (Read 2898 times)

JoGo

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
do any EA objects raise events?
« on: September 08, 2008, 04:58:35 pm »
i've just started using teh EA object model.   is there anyway to handle a double click event on an Element or Diagram?  

i.e. is there a COM event to which I can attach a delegate and handle it with a method like ...

something like Element_DoubleClick(object sender, EventArgs e)
{
}


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: do any EA objects raise events?
« Reply #1 on: September 09, 2008, 01:18:27 am »
Take a look at the EA Add-in Model. It is the section immediately before the EA Object Model in the help file (up to build 832).
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: do any EA objects raise events?
« Reply #2 on: September 09, 2008, 08:55:52 am »
Search the help for EA_OnContextItemDoubleClicked.
The Sparx Team
[email protected]