HI all,
I have written an add-in that requires some user inputs. Correspondingly, if the add-in is executed through GUI I need to display user dialogues. However, this should be displayed only if the add-in is executed through GUI, and not if it is displayed through command. I have found a workaround from other user add-ins, but I was wondering if there is preferred way to do this?
Crisis Student
Best way to set up user dialogs for add-in conditional on GUI execution
Moderators: EViews Gareth, EViews Moderator
-
CrisisStudent
- Posts: 49
- Joined: Mon Nov 16, 2020 10:52 am
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Best way to set up user dialogs for add-in conditional on GUI execution
Typical way is to check whether any inputs were given as options or arguments. If none were, then it was executed via menu.
-
CrisisStudent
- Posts: 49
- Joined: Mon Nov 16, 2020 10:52 am
Re: Best way to set up user dialogs for add-in conditional on GUI execution
That's exactly what I did, but was not sure if there is a better way. Thanks!
Return to “Add-in Writing area”
Who is online
Users browsing this forum: No registered users and 0 guests
