> This usually means that you've tried to change a control or do something
> else that will cause you to draw to the screen before you've called
> FrmDrawForm for a form. You're also using a debug ROM image with POSE or a
> debug version of the Simulator.
>
> All FrmPopupForm does is post events to the queue. The new form doesn't
> popup until after it's been back through the queue to handle the form load
> and form open events.
Thanks for your very quick response, my problem is I'm not using one
of those functions , my code looks like this...
void SomeFunc(...)
{
...
...
FrmPopupForm(Form);
}
and in the event handler for 'Form'
switch (eventP->eType)
{
case frmLoadEvent:
frmP = FrmInitForm(eventP->data.frmLoad.formID);
...
break;
case frmOpenEvent:
frmP = FrmGetActiveForm();
FrmDrawForm(frmP);
...
break;
...
...
}
What I need to do is call 'SomeFunc' when the user taps some Fields,
so when I receive FldEnterEvent I call 'SomeFunc', is there something
I'm doing wrong?, I've tried without calling FrmInitForm too, and got
the same problem.
--
Andr�s M. Benavides
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/