Moises,
You can make the form modal. WindowType = 1
>I have a "do form" command in a .prg file
>
>There are code before and after the "do form" command
>
>How can I do to stop .prg execution and only continue it when form is released
>
>Looked up in set commands but didn't find any reference