Yep. I realise that. However, after FrmReturnToForm, I use FrmCloseAllForms
which also doesn't close the form. I guess I wasn't very clear as to the
problem.

-----------
Jason Oakley wrote:

> Hmmm. Must be a hard one for others too...

No, we RTM. From the Palm OS Reference (which is the first place you
should look when having trouble with a function), in the comments on
"FrmReturnToForm":

"FrmReturnToForm does not generate a frmCloseEvent when
called from a modal form’s event handler. It assumes that you have
already handled cleaning up your form’s variables since you are
explicitly calling FrmReturnToForm."

It's stupid, but it's well-documented stupidity.

--
Joseph Lunderville

--
http://www.ZigZagSoft.com/
Beta test and get free and commercial PalmOS games.






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to