Book a Demo

Author Topic: Open custom Element Properties Dialog  (Read 3508 times)

ingeniero

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Open custom Element Properties Dialog
« on: October 05, 2015, 08:37:02 pm »
Hi everyone,

I'm trying to build a custom properties dialog in order to load it when an user do double click in an element in the project browser, and not load the default properties dialog.

Can anyone help with this?

Thanks,
Javier

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Open custom Element Properties Dialog
« Reply #1 on: October 05, 2015, 08:47:49 pm »
You have to subscribe to EA_OnContextItemDoubleClicked and return True to indicate that you have handled the event, and EA does not need to open the properties dialog. See http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/ea_oncontextitemdoubleclicked.html for more info.

Geert