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/

Reply via email to