At 11:34 AM 5/11/2004, Ornstein, Adam wrote:
Yes, Ive been able to run the application successfully on palm OS 4.1
emulator as well as the other versions with no problems, up until I get to
palm OS 5.  At palm OS 5, when gremlins are run it goes into an infinite
loop.  On 5.2 it comes up with form.c, Line:5696, Bad form.

I found the form it was talking about, and the only thing on that form is a
bitmap image, nothing is modified as the screen only shows for about 2
seconds.  The image is placed on the screen within the bounds, and ends
within the bounds of the designated area(it is all visible). --works fine
with palm os 3.2, 3.5, 4.0,4.1,4.2...

Thanks! -- form code follows

Pilrc code....

FORM ID SPALSH_FORM  AT ( 0 0 160 160 )
NOFRAME MODAL NONUSABLE
BEGIN
      TITLE "Quit program"
        FORMBITMAP AT (0 14) BITMAP IMG_SmokingGuyBMP
END

Problem #1: remove the "NONUSABLE". You'll get a Bad Form error if you try to display a form that isn't marked usable.


Problem #2: there's no "SAVEBEHIND" flag set here... this could cause problems on some OS versions when triggering the redraw of the form displayed under this one.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to