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 forms event handler. It assumes that you have already handled cleaning up your forms 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/
