>I have a program which calls a form. The program continues to execute after opening the form. How can I get the program to wait until the form is closed to continue execution.
>
>
>
code
>code
>code
>do form myform ( I want to pause execution here until form is closed )
>code
>code
>code
>
>tia
You can use the DO EVENTS that Ron suggested, or you can make the form modal by changing the ShowWindow property to 1 in your .SCX.