"James Preston" <[EMAIL PROTECTED]> wrote in message
news:70446@palm-dev-forum...
>
> Drat. I've tried both of those: making it a modal dialog at 2,2 with
width
> and height both 156, and I get the error. Then I tried changing it to
a
> non-modal at 0,0 with width and height both 160, and I still get the
error.
> I don't suppose someone with the OS sources could look up Form.c,
Line:841
> and tell me what conditions it's actually checking there? This is a
> bothersome problem.

The specific error message you're getting is coming from the internal
redraw function.  The system is going through the window list and
checking all of the dialogs to make sure they have the right dimensions.
The system gets the frame rectangle for the form, then checks to see
that it starts at 0 and is as wide as the current display width (160 on
most current devices).

Since you're getting this when it seems that your form is OK, I'm
thinking that something might be corruption your form's data structure.
When you get this error, hit debug, go up the stack crawl, and inspect
your FormType pointer if its available.  See if the size and position
settings are OK.



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

Reply via email to