Michael Yam worte:
>I clean up when the
>user taps the "Done" button, just before calling FrmReturnToForm(0).
Boy, here's an example of fortuitous accident. Most forms which use a
FrmReturnToForm will know from whence they came, so they formID can be
hard-coded. But recently I had some which could return to multiple
places, and I've been using a few extra lines of code to figure out
where. Thanks to Michael I now see what I could have learned from the
docs, of course, which is that a "0" will just return to the parent form
without having to worry about who that is. Nice to know!! Thanks for the
inadvertant tip, Michael!
Steve Patt
President, Stevens Creek Software
http://www.stevenscreek.com/palm
Best PQA ("ePQA"), PalmSource 99
Best Application ("PizzaScan"), Palm Developer's Conference 1998
First printing software for the Palm - September, 1997
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/