Book a Demo

Author Topic: Showing dialog to get several inputs  (Read 3315 times)

node.pl

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Showing dialog to get several inputs
« on: October 24, 2015, 04:41:54 am »
Hi,
I like to show dialog in JScript (in EA scripting) similar  to DLGInputBox from EAScriptLib.JScript-Dialog but having not one but many inputs at once eg.: Name, Alias, Version etc.

I can see that inside DLGInputBox ActiveXObject("ScriptControl") is used.
Is there any other dialog which could be employed instead?

Thanks,
Tomasz
« Last Edit: October 24, 2015, 04:42:28 am by node.pl »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Showing dialog to get several inputs
« Reply #1 on: October 24, 2015, 04:07:30 pm »
You can show any dialog that is registred in COM, but there aren't many others that I know of.

Alternative is to write one yourself and register it for COM interop.
Downside is that you have to install that on all clients for the script to work.

Geert