Why not to check for the condition before executing Do form MyForm. If condition matches run a form else No run.
Aashish
>Is there any way to have a control prevent the form from instantiating during the control's Init() without any code in the form? And without the form ever being visible?
>
>I've tried putting thisform.release() in the controls Init(), but it doesn't release the form.
>I put thisform.release() in the controls Refresh() and it works, but the form is visible by that time.
>
>I would like to create a class that I can just drop on the form and it would stop the form from flashing before being destroyed.
>
>TIA