I have a problem.
I have three forms.

1. Form1 starts
2. Tap on a button and FrmGotoForm(Form2) which closes Form1
3. Play game. FrmPopupForm(Form3) [can't use FrmDoDialog as this form has two buttons, one I need to intercept, the other an OK button]
4. Tap on the OK button does a FrmReturnToForm(0) [or FrmReturnToForm(Form2) ] - neither of these unloads Form3.
5. I add "FrmCloseAllForms()" to try and close Form2 and Form3 (just to be sure).
6. FrmGotoForm(Form1) - back to the start.
7. Everything looks okay until we do Form2 then Form3 again. Form2 works fine, but I get the error that Form3 is already loaded as it doesn't unload in step #4 and step #5 above.


FrmReturnToForm() doesn't unload Form3. It just closes it.
FrmCloseAllForms() doesn't close Form3, just Form2.

I use the Palm Simulator for Tungsten|T and use VIEW EVENTS. At no time does it close Form3.

---------------------------------------------------------------------------------
http://www.bangrocks.com/ - http://www.auspug.org/

http://www.ZigZagSoft.com/ - PalmOS Software and "Palm Games Programming" forum



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

Reply via email to