Good news.  I found the problem.  I am posting the solution just in case 
others run into the same problem.

POSE with the Palm OS 3.0 debug ROM produces a "Bad Form" error if the 
forms for the dialogs have their usable flag set to false (two of my 
forms had off usable flags by mistake).  I wasn't able to reproduce the 
"Bad Form" error on any other version of the Palm OS within POSE.

Thus forms must have their usable bit set to true for FrmDoDialog() to 
work properly.  

- Clay

>Date: 15 Jul 1999 05:30:13 -0700
>From: Creative Creek <[EMAIL PROTECTED]>
>Subject: Error when calling FrmDoDialog
>
>I am having an a problem that only shows up with the Palm III debug ROM.  
>All the other debug ROMs report no error.
>
>The situation is that I am calling FrmDoDialog to display my About... 
>screen.  The code looks like this 
>
>       FormPtr                 frm;
>
>       frm = FrmInitForm(AboutForm);
>       FrmDoDialog(frm);
>       FrmDeleteForm(frm);
>
>which is right out of the documentation.  The error occurs in 
>FrmDoDialog().  POSE v2.1d28 displays a dialog containing 
>
>"MyApp" v1.2 reports "Form.c, Line: 4402, Bad form".
>
>Has anyone else had this problem? 
>
>- - Clay


Clay M. Thompson     [EMAIL PROTECTED]      www.creativecreek.com

Reply via email to