"Geremy Ferguson" <[EMAIL PROTECTED]> wrote in message
news:54511@palm-dev-forum...
>
> Greetings all,
>
> First off, I have looked through the Palm Developer archives but can
not
> find a question or a responce that specifically deals with my problem.
My
> problem is as follows:
>
> FormA calls a Modal FormB via FrmPopupForm()
> FormB has a popup list on it that when an answer is detected, calls a
> FrmReturnToForm()
> Immediately after FrmReturnToForm() I call another Modal Form, FormC,
that
> pops up over FormA
> A popup list from FormB now becomes visible on FormA eventhough FormC
is
> active
>
> That is the best summary I can give now for more detail, if I throw up
a
> alert of some kind between by FrmReturnToForm and next Modal Form
call,
> everything works great and the popup list does not appear. My
question is
> what event does FrmReturnToForm send to let the original FormA know it
is
> being called. I have looked in the PalmOS reference, but I can not
seem to
> find the event that is sent. If I knew this event then I could just
make my
> next Modal Form call from that event detection in FormA.
The only event A is guaranteed to get is winEnterEvent, but only if you
reenter the event loop before popping up a new form. FrmReturnToForm
may also send frmUpdateEvent directly to form A, depending on the
situation. Form A's handler will be called with a frmUpdateEvent when B
is being erased only if B was set with the "save-bits" flag on, and
you're on a debug ROM or your memory was too low to save the space
behind B.
FrmReturnToForm just does three things:
1) FrmEraseForm on active form
2) FrmDeleteForm on active form
3) FrmSetActiveForm on old form
>From what on B are you calling FrmReturnToForm? The event handler's
popSelectEvent? Is form C being called by FrmPopupForm?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/