What is the preferred way to close a dialog-box and pass the output parameters back to the original program? I have my main program which is a dialog-box as well that, on button-click, opens a subsequent dialog-box with inputs and waits for the user to fill out the dialog-box form to pass the outputs back to the original. What command should I tie to the "OK" button to pass these variables back to the original and close the program?
Thanks
Thanks