Book a Demo

Author Topic: Open a dialog  (Read 2883 times)

damien

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Open a dialog
« on: July 08, 2008, 11:02:48 pm »
Hello,

I would know if it is possible to open a input dialog or a filechooser dialog in EA. My addin explores the project tree and extracts informations in an excel file, i want that he can choose the name of this file. I have searched in the help and this forum but i don't find.

Someone can help me, please
Thank you
Bye

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Open a dialog
« Reply #1 on: July 09, 2008, 12:26:17 am »
Yes...

Such dialogs are not provided by EA though; you have to supply your own.

If you are using something like VBA - perhaps low-tech these days, but it works just fine with EA - you can use the built-in dialogs. So too with VB 6, if you load the option packs.

If you are using .Net just load the Windows Form namespace and use the various dialog classes. Java probably provides something pretty standard too.

The advantage of something like the above examples is that your dialog will look 'normal' to most users. If your organization uses the same development platform to build applications it will have the same 'comforting' look and feel as the other software you are using.

David
No, you can't have it!

damien

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Open a dialog
« Reply #2 on: July 09, 2008, 04:51:10 pm »
Thank you for the answer