"Jim Schram" <[EMAIL PROTECTED]> wrote in message
news:54201@palm-dev-forum...
>
> At 4:58 PM -0500 2001/06/24, Ben Combee wrote:
> >You don't have to make the forms modal, you just need to set the
"save
> >behind" bit on the forms. This should be set for any forms other
than
> >top-level ones. If it pops up, use this to get proper background
> >erasing and redrawing behavior.
>
> Never rely on the save-behind feature, as this will not function in
low-memory conditions (it's purely a performance enhancing trick not a
guaranteed behavior). Instead, code your form event handlers to properly
respond to form update events. If the forms aren't [re]drawing
correctly, something's wrong... so fix the problem, don't mask it. BTW,
POSE and a debug ROM can help you find and fix this.
Just a note: I wasn't saying you should rely on save-behind -- in fact,
implementing proper frmUpdateEvent behavior is very important. What I
did want to note is that in Palm OS versions before 3.5, the code for
FrmDrawForm doesn't erase the background before drawing unless your form
is marked as saveBehind. This means that any forms that are going to be
overlayed on other forms need this bit set on, or they will be drawn
with the background showing through.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/