OK, but my point was that it looks like the current,
active form is not being closed because it's not being
cleaned up. The new form is being overlayed on top of
the old one and its a mess. Any idea what could be
causing that?

Thanks,

Brian

> Subject: Re: FrmGotoForm() not closing current form?
>From: Ben Combee <[EMAIL PROTECTED]>
>Date: Mon, 22 Mar 2004 15:08:33 -0600
>X-Message-Number: 37

>At 02:16 PM 3/22/2004, you wrote:
>I use this all over my app, but in a couple
situations
>it doesn't execute immediately; it will eventually go
>to the new form after it's done executing the rest of
>my methods, but then the new form is overlayed on top
>of the old form. When I use the debugger it just
steps
>over the FrmGotoForm() call and continues on its
merry
>way. Is there something I'm missing about the event
>stack or method stack?

All that FrmGotoForm() does is post three events to
the event queue

frmCloseEvent for the active form (if there is one)
frmLoadEvent for new form
frmOpenEvent for new form

It doesn't cause any immediate action -- that happens
when you finish 
the 
current event handler.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
    Read "Combee on Palm OS" at
http://palmos.combee.net/


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to