But if I take out FrmSetActiveForm, the new form can't
initialize an edit control (for example) and I receive a fatal alert
("Index out of range" - referring to the edit control ID)

Mihai Ciornei

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Kostka
Sent: Friday, June 04, 2004 8:59 AM
To: Palm Developer Forum
Subject: Re: FrmDoDialog...

This is a guess, but maybe setting the active form to the modal dialog
before FrmDoDialog and not resetting the active form after it closes is
causing a problem.  You could try taking out FrmSetActiveForm all
together
as I don't see why it has to be active before FrmDoDialog.  You can
still
call the event handler explicitly or do any processessing on the
controls of
the form.
-- 
Tim Kostka


"Mihai Ciornei" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,

I have a problem with FrmDoDialog( FormType* pForm )  and Palm OS 5.3
I have to tap twice a control for the call of this function to take
effect.
And when I tap the second time I receive a Fatal Alert and my handheld
resets.

Do you have any idea why?


Thank's in advance
Ciornei Mihai Bogdan





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



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

Reply via email to