>>FrmDrawForm seems to behave differently in 3.2 (Palm VII) than before:
>>it erases the form before drawing the objects. In 3.1 and earlier, it
>>doesn't erase what's already on screen, and in fact my code is taking
>>advantage of that fact. So now it's erasing parts of my interface!
>
>actually, your code is broken if you draw anything before calling
>FrmDrawForm, even on 3.1 and earlier. you just won't notice it until you
>exit the form. FrmDrawForm also saves a bitmap of the current screen before
>drawing anything, and when the form is closed, **that bitmap gets redrawn**.
>so, you are not painting those gadgets onto your form, you are actually
>painting them onto whichever form is displayed prior to your form being
>displayed.
>
>it's a common mistake, but it's definitely a bug in your code.
Chris is correct; it isn't correct to draw stuff onto a form before calling
FrmDrawForm. However, the Palm VII rom has had this change reversed such
that it'll work like previous released devices, since the change was made a
little too late for us to be able to assess the impact on 3rd party apps.
(Like yours, for instance!)
So the final Palm VII rom will work the same as previous ones. However,
fixing your code would be a very good idea since the change might well
happen for future devices.
-David Fedor
Palm Developer Support