Tried calling the following function (from Addressbook source) when pressing
the OK button on my Details Dialog which is Modal with SaveBehind turned on,
and it's worse. Every Field from my Details form is there when I get back to
my previous form. The funny thing is the info in the fields is 'two popups
old' - ie it's the info that was in the details dialog 2 pops ago. Maybe my
event loop is messed up or something. Same on POSE or real device. The
addressbook details has no fields so maybe it would do the same?? Only
fields are there - not labels or anything else.

My Details dialog is called with FrmPopupForm()

static void LeaveForm  ()
{
   FormPtr frm;

   frm = FrmGetActiveForm();
   FrmEraseForm (frm);
   FrmDeleteForm (frm);
   FrmSetActiveForm (FrmGetFirstForm ());
}

Christopher Hunt <[EMAIL PROTECTED]> wrote in message
news:789@palm-dev-forum...
>
> 'just to expand on the following, I think that you were getting 'insertion
point trace' on your screen given that the insertion
> point wasn't switched off. FrmEraseForm turns the insertion point off.
>
> -C
>
> Jason Simpkins wrote:
>
> > FrmEraseForm(frm);
> > FrmDeleteForm(frm);
> >
> > "John R. Violette" wrote:
> >
> > > When I switch forms with FrmGotoForm to close my current form and open
the
> > > new one, I end up with 'garbage' characters on my screen as the new
form is
> > > being brought up and as any new form is being displayed. These garbage
> > > characters just happen to be any 'Fields' that happened to have data
in them
> > > from the previously dismissed forms. As more and more forms display,
the
> > > garbage piles up and every time I switch forms, I can see it. How do I
get
> > > the nice clean display I want? I thought the form close event sent
with
> > > FrmGotoForm unallocated any Fields??? Do I have to manually clear the
> > > fields? Does the handled = true after the FrmGotoForm matter? It
doesn't
> > > seem to in my case.
> > >
> > > Later...
> > >
> > > --
> > > For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
> --
> Christopher Hunt
> Class Action Pty. Ltd.
>
> Complete time zone management for the Palm(tm) connected organizer.
> Check out http://www.classactionpl.com/
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to