closing a Dialog Box
Torsten Reifegerste
Forums
Hello,
thanks to the youtube tutorial i managed to create my first dialog box.
Depending on the selection, a script is started through the dialog box.
The selected script itself takes about 5 minutes to complete. It is possible to close the dialog menu before completing the selcted script and not afterwards?
Or maybe lower the showing level, it is allways the front window when i use other programs / windows.
thx for helping me
Torsten
Hello Torsten,
Hello Torsten,
Your problem is because you are running your analysis while before closing the dialog box. The lines to call your analysis should be after you close the dialog, namely from the Sub Main after the line "If not bExitScript then" as this is generally where the code would go. The menu would open up the dialog, you then place the items from the dialog in global variables, you close the dialog and then run the different analysis based on the global variables from the dialog.
Hopefully that makes sense.
Brian