Don't put the READ EVENTS in the form. Call the form from a program that looks like this:
DO FORM MyForm
READ EVENTS
Make sure you have a CLEAR EVENTS in the unload event of your form. That will allow the program to continue after the form is closed.
>I make form, in events Activate type Read Events.
>When I run form by VFP - all right, but when I build
>executable file - my form shown and disapeared in moment.
>What I do wrong?