Hi ailee,
According to the SDK3.5 Document, FrmGotoForm() will close the form
whichever is open &
opens the one specified by you. So the function FrmGotoForm() releases the
memory of the
form that is open now. You don't need to use FrmDeleteForm().
To go back to the old form you can use FrmReturnToForm() function.
Hope this helps.
Thanks
Sreenivas Reddy
Developers' Nation DTS Engineer
Developers' Nation provides Palm OS Technical Support with a guaranteed
response time. Go to www.devnation.net
Developers' Nation is the fastest, most reliable and affordable way to
resolve your technical issues.
"Ai Lee Tang" <[EMAIL PROTECTED]> wrote in message
news:51531@palm-dev-forum...
>
> hi all,
>
> I got 2 forms, i named it as form1 and form2 for the time being. When i
am
> in form1 and i want to open up form2, i issued this command -
> frmpopupform(form2).
>
> After that, i want to go back to the last form, in order to deallocate the
> memory, i was issued a delete form command (frmdeleteform(form2)) before
the
> FrmGotoForm(form1) command.
>
> i suppose to see form1 only. But, it is not. Form2 is not nicely deleted
> away. It looks like 2 form overlapping each other. What is the problem?
What
> command should i issue after the delete command?
>
>
> rgds,
> ailee
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/