--- George Bassili <[EMAIL PROTECTED]> wrote: > Sorry, to repost this question everyone, but i'm at my whitsend. > ... > 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? >
I vote for the latter. I didn't answer this question last time because it was late, or I was busy, or I didn't have time, or something. Unfortunately, none of the above have changed. So, without taking time to really think about it carefully (and therefore, probably making some kind of stupid mistake), I will offer this suggestion: you are probably not opening your second form properly. Try using FrmGotoForm() to switch forms. I don't think that FrmInitForm...FrmSetActiveForm...FrmDrawForm is going to properly save the bits behind. To switch between forms, use one of the following pairs of functions: FrmPopupForm(), followed by FrmReturnToForm() - or - FrmGotoForm(), followed by FrmGotoForm() __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
