Author Topic: On the fly screen creation  (Read 3960 times)

san_kp

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
On the fly screen creation
« on: October 06, 2003, 02:55:08 am »
In EA If a modal screen(form,edit box,memo etc) has been designed with the existing option, Can the same be imported as a form in delphi with all the components etc created on the fly ?

Phil_Bachmann

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: On the fly screen creation
« Reply #1 on: October 06, 2003, 05:29:08 pm »
If your question is:

"Is it possible to build an add-in that takes the currently selected "Screen" element on an EA diagram and produce/modify a text file representing a Delphi form object?"

I have explored this issue and determined that there isn't enough information provided by the classes in the automation interface to do this.

Nevertheless it is a very interesting idea and we may be tempted to make changes to the automation interface to make this possible.

Regards,
Phil Bachmann
Sparx Systems

SpoonsJTD

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: On the fly screen creation
« Reply #2 on: November 18, 2004, 02:20:33 pm »
Bump and +1 to enable add-ins to be able to identify the currently selected element or elements via the object model.

Repository.GetCurrentElements()

like the current method

Repository.GetCurrentDiagram()

« Last Edit: November 18, 2004, 02:20:50 pm by SpoonsJTD »