Mark,

Just wanted to say thanks again for your help.  After sleeping on it, I woke
up kicking myself for being so myopic.  I take two weeks off and I forget
everything.  I knew there was something common about the problem because
every form I added did not work.  I fooled myself into thinking that the
form map macros in the main app were for the main form and not the whole
app.

Nick.




"Mark F. Rodriguez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Nick,
>
> Make sure you include the Form ID and your derived form in MyApp.h. It
> should look something like this...
>
> // Your includes
> #include "CMainFrm.h"
> #include "CFrm2.h" // your new form
>
>
> // Form map
> BEGIN_FORM_MAP()
> FORM_MAP_ENTRY(MainForm, CMainFrm)
> FORM_MAP_ENTRY(Form2, CForm2) // your new form
> END_FORM_MAP()
>
>
> Hope this helps,
> -Mark
>
>
> On Thursday, June 26, 2003, at 10:16 PM, Nick wrote:
>
> > I have CW9.1 and POL 4.04.00.  I have been working on an application
> > for
> > several months and all is working good.  I recently added a new form
> > to the
> > application and attempted to call it from another form's  OnButton
> > handler
> > using GotoForm.  However, I keep geeting an error:
> >
> > "MyApp.h, Line 37, CPalmApp: Invalid Form Load Event"
> >
> > To me this suggests that the form ID passed to the GotoForm is somehow
> > invalid.  HOwever, the app compiles with no unresolved.
> >
> > The error happens when  I try to invoke any newly added form.  If I
> > call
> > GotoForm with a form ID that was already in the project, that form is
> > launched just fine.  I have removed and added several forms but each
> > time it
> > fails with the same error message.
> >
> > Any suggestions?
> >
> > Thanks,
> > Nick.
> >
> >
> >
> >
> > -- 
> > 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