SF> I think that maybe something else is deleting the form before the event SF> handler returns, but I haven't been able to figure out what. I assume SF> it's in my code somewhere, or one of my returns is wrong, but I can't SF> find how I'm supposed to deal with OnClose anywhere...
try use F11 in debug mode. try find deeper "loop event" where crash appear. see id in "event" stucture. may bee system try destroy not existent control or form. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
