> Mike Davis wrote:
> > 
> > It's not obvious when FrmDeleteForm is needed.  I
> > open forms usually with FrmPopupForm() or FrmDoDialog().
> > 
> 
> Mike,
> 
> FrmDeleteForm is generally used following FrmInitForm, FrmDoDialog,
> FrmPopupForm, and FrmSetActive.  When you are just displaying a dialog
> (i.e. FrmPopupForm) it is usually easiest to use FrmReturnToForm.  Also,
> note that FrmGotoForm sends a frmCloseEvent to the current form to
> clean-up for you.

Thanks, I guess I'm lucky.  I always use FrmReturnToForm when I use
FrmPopupForm that seems obvious and do use FrmDeleteForm with 
FrmDoDialog but did not really understand why it was necessary.

But that brings up another question.  I open my main form with a 
FrmGotoForm(frmMain).  But no where do I close or delete the main
form, even when the program ends. 

Must I perform a FrmDeleteFrm upon closing the app?

> Paul . . .
> 
> -- 
>  ___________________________________________________________________
>   dpw Designs                    http://www.pe.net/firm/dpw-designs
>                                  mailto:[EMAIL PROTECTED]
> 


--
-----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------

Reply via email to