I have a do-file reading and writing into a small group of catalogs. There are several such groups, and I am trying to write a dialog asking which group - so I don't have to edit the do-file for every run. My aim was to start the dialog from inside the do-file, select which group of catalogs should be used, and click OK to make the do-file continue. The dialog commands set a couple of global macros, which are then picked up by the do-file and "translated" into complete paths.
Now, my dialog itself is working - but I have found no way to make the do-file stop and wait for the dialog commands to run. After loading/displaying the dialog box, the do-file just continues without the input from the dialog, and then the dialog commands pop up later.
- Is there a way to make the do-file wait, or am I completely on the wrong track? I have noticed that dialogs originally are meant to be inserted into the User menu ...
- Is there another way of making the do-file ask for input?
Now, my dialog itself is working - but I have found no way to make the do-file stop and wait for the dialog commands to run. After loading/displaying the dialog box, the do-file just continues without the input from the dialog, and then the dialog commands pop up later.
- Is there a way to make the do-file wait, or am I completely on the wrong track? I have noticed that dialogs originally are meant to be inserted into the User menu ...
- Is there another way of making the do-file ask for input?
Comment