Hi,
FrmPopupForm *only* posts 2 events .
" FrmPopupForm()
Queues a frmLoadEvent and a frmOpenEvent for the specified form. "
Because the debug dialog uses the same event queue, the events are
discarded, thus no form is shown.
Btw: The actual form loading is done by your AppHandleEvent() (or some
similar function, look for FrmInitForm).
Regards,
Miro Pomsar
----- Original Message -----
From: "Clive Walden" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Friday, April 29, 2005 01:38
Subject: FrmPopupForm problem
I am trying to use
FrmPopupForm / FrmReturnToForm to open a form because I want to return to
the calling form with all
the calling forms fields still populated.
On a button the following code appears to work just fine:
FrmPopupForm(dlgStNames);
However, if I add another line to the code in the buttonSelect event
(currently, just a debug call
to check the value of a global)
FrmPopupForm(dlgStNames);
ShowInteger(vtUtils.getSelectedStNameIndex);
then the form dlgStNames never shows and my ShowInteger dialog pops up.
Obviously FrmPopupForm is actually returning immediately.
Is there an event I can watch for in the calling form to tell me when
FrmReturnToForm has been
called or is there a better approach?
The Palm reference seemed to indicate that this was the way to go.
Thanks,
Clive
Clive Walden
Walden Consulting
Phone: 760-632-5856
Web site: www.clivewalden.com
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/