>     I created a number keypad form (with its own event handler) which can
>be called using FrmPopupForm() by a number of forms. As the keypad form
>closes, it saves the entered string in a global variable.  I'm trying to
>figure out the proper method for having the form which called FrmPopForm()
>to react to the closing of the keypad form by copying the keypad data into
>a field.  Does the dialog box closing cause any event that can be
>dependably caught by the calling form's event handler?

Your best bet is for the modal form to send a frmUpdateEvent to the 
first form when the modal form closes. Define your own custom event 
types, etc. Use the Sample code provided by Palm for an example.

To _really_ answer your question, FrmReturnToForm() doesn't generate 
a frmClose event, so you can't catch it there. You may be able to 
look for WinEnter and WinClose events, but the update method is much 
cleaner, IMO.

JB

Reply via email to