I have a question about switching to a new form....I have the FrmGotoForm
statement and it closes the original form(the Palm screen goes blank when
stepping through while in debug mode)...However, when it then goes into the
ApplicationHandleEvent function and to the section relevant section to
frmLoadEvent, it always crashes when it gets to FrmInitForm....I'm sure
this is a dumb little error somewhere on my part, but I was just wondering
if anyone has seen this type of error before and could lend some help.
Thanks,
Ben
The code in ApplicationHandleEvent that crashes:
if (event->eType == frmLoadEvent)
{
// Load the form resource.
formId = event->data.frmLoad.formID;
frm = FrmInitForm(formId);
FrmSetActiveForm(frm);
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/