I would try not using forms to simulate tabs.  I've made tabs in the past
using a single form and just hiding or displaying the appropriate controls.
If moving to a single form style tab is not what you want, another option is
not to use the save behind feature.  (Besides, you could get into trouble
down the road if you start to run out of memory and the OS stops saving
behind the popup dialog.)  I'd just have the form on top redraw after you
dismiss the popup.

----- Original Message -----
From: "George Bassili" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 10:55 PM
Subject: Restoring bits incorrectly


> Sorry, to repost this question everyone, but i'm at my whitsend.
> I don;t know if its just to lame a question and thats why no-one has
> answered or no one knows or i'm doing something i'm not supposed to.
> If anyone can give me an insight on whats going on here i would really
> appreciate it.
>
> My initial form is loaded into memory using FrmInitForm and
> FrmSetActiveForm, then drawn using FrmDrawForm.
>
> Without unloading this form, i load a second form using the smae method.
> I then Set the active form to the initial form and re-draw the initial
form
> using FrmDrawForm.  When i display any sort of system dialog, beit
FrmAlert
> or SelectDay etc; when the dialog is dismissed it restores the bits for
the
> second form, not the initial one.  Even though the initial one is the one
> thats active!
>
> So the system dialog appears to be remembering the bits for the last
FrmInit
> loaded form rather than the active form thats drawn on the screen.
>
> Is this a bug?  Am i doing something wrong here?
>
> Any help would be appreciated.
>
> Regards,
> george B
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



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

Reply via email to