>Hello,
>
>Is there a way to destroy a form in the Init event method of the form? If not, how can I destroy a form before it shows up on the user's screen and continue on with the rest of my program?
>
>
Return .F. from the Init will prevent the form from getting started.
Since you want to also get past the READ EVENTS, you'll need a CLEAR EVENTS just before the RETURN .F.
If you've tried this, it should work. Don't know why it wouldn't.
>PROBLEM SPECIFICS
>---------------------
>
>The form I am trying to destroy is a setup form. I validate setup information there and if need be run through the setup process again. If I don't need anything then I just try to kill the form and proceed with the other forms in the program.
>
>The setup validation occurs in the Init event method. Right now it does a CLEAR EVENTS, THISFORM.Release() and RETURN .F. but the program still resides in memory and never gets past the READ EVENTS line called right after my DO FORM setup line.
>
>
>Any help is appreciated.
>
>Thanks,
>Matthew