At 09:25 PM 4/3/2004, you wrote:
I guess the reason why I ask is because I am trying to write some code that
would go as follows:
FORM_A launches FORM_B with FrmPopupForm(FORM_B);
And I am trying to figure out how FORM_A's handler will know when FORM_B has
returned (using FrmReturnToForm(FORM_A)) so that I can call a function
involving a global created in FORM_B's handler. Similar to when you call
FrmDoDialog(...) and it returns the button tapped. I can't use the
FrmDoDialog because FORM_B has other non-returning buttons it has to handle
(that adds variables to a field and store them for when FORM_B returns).

Have the code that calls FrmReturnToForm(0) in FORM_B then call FrmUpdateForm() to post a frmUpdateEvent to form A with a special code that lets it know that it's data has changed.



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



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

Reply via email to