Then you could probably use that code below. It clears everything
with the FrmDeleteForm, then reloads the form with FrmGotoForm.
And you can call both by either putting them in your Update handler,
or by calling both when you need to. FrmCloseAllForms gets you by
debugger/emulator messages, but on an actual unit, you don't have
to do that. A FrmDeleteForm works just fine...it wipes the form off
the screen and out of memory.
-Rus
>-----Original Message-----
>From: Richard Anderson [mailto:[EMAIL PROTECTED]]
>Sent: Friday, July 28, 2000 8:30 AM
>To: Palm Developer Forum
>Subject: RE: Is it safe to do GotoFrm (current_form) ???
>
>
>What I am tring to do is have the same form but with a lot of different
>stuff (lines etc). Basically the form appears when I rx a serial wakeup
>message, if I receive another wakeup message whilst still
>displaying the
>wakeup form I want to start agian from scratch. What I
>actually need to do
>is clear the current form and call the initialisation again,
>but logically
>to the use its a brand new screen.
>
>> -----Original Message-----
>> From: Nesse, Rustin [SMTP:[EMAIL PROTECTED]]
>> Sent: 28 July 2000 16:14
>> To: Palm Developer Forum
>> Subject: RE: Is it safe to do GotoFrm (current_form) ???
>>
>> Yes, I do it sometimes as a part of my frmUpdateEvent
>handler. I like
>> to do a FrmDeleteForm( current_form ); first, then a
>> FrmGotoForm( current_form );
>>
>> Write a frmUpdateEvent handler, then call void FrmUpdateForm(
>> current_form,
>> frmRedrawUpdateCode ); If your intent is to refresh the
>current form
>> (this is the only thing I can think of you doing this for).
>>
>> -Rus
>>
>> >-----Original Message-----
>> >From: Richard Anderson [mailto:[EMAIL PROTECTED]]
>> >Sent: Friday, July 28, 2000 6:22 AM
>> >To: Palm Developer Forum
>> >Subject: Is it safe to do GotoFrm (current_form) ???
>> >
>> >
>> >hi
>> >
>> >Is if safe to call gotoFrm for the form you are currently
>> >displaying ???
>> >Dont ask me why I want to do it, but I need too.
>> >
>> >Thanks
>> >
>> >Rik
>> >
>> >--
>> >For information on using the Palm Developer Forums, or to
>> >unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
> >
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/