Nevermind. Now that I think about it processing doesn't really get
transferred to the FormX handler until an event not handled by FormY, a menu
or the system makes it through the main event loop. Sorry to bother
everyone.

> -----Original Message-----
> From: Fawcett, Mitch [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 03, 1999 1:04 PM
> To:   'PalmDevForum'
> Subject:      FrmReturnToForm
> 
> This is a simple question I'm sure but it's making me crazy.
> 
> If I have two form event handlers one for FormX and one for FormY.  FormX
> opens FormY.  FormY does some things and then does a FrmReturnToForm
> making
> FormX the active form again.  
> 
> My question is, what's the situation with the statements following the
> FrmReturnToForm in the FormYHandler routine?  Does it make sense to have
> anything following a FrmReturnToForm if processing is being transferred
> back
> to the event handler for FormX? 
> 
> 
> void FormXHandler (void)
> {
>    ... open FormY
> 
> }
> 
> void FormYHandler (void)
> {
>    ... some stuff
>    FrmReturnToForm (ptrFormX)
>    ... some more stuff
> 
> }
> 
> 
> 

Reply via email to