hide the list via FrmHideObject.
call FrmDrawForm
initialize/populate the list
call FrmShowObject

You'll experience no flicker with this method.  It works for me.

-- 
Tim Kostka


"Eddie Gomez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a form with a dynamically created list (with a callback function).
> Currently, in the FrmOpenEvent section, the ListInit() routine which
> establishes the callback function is executed first and then the
> FrmDrawForm() function.  The list is populated and displays normally.
>
> When the app runs and I jump to another form, I see a "ghost" image of the
> screen for a split second before the requested form is displayed.  This is
> really annoying.
>
> All my other forms are have the FrmDrawForm() function called first and
then
> any Init() functions.  The other forms do not have dynamic lists.  I do
this
> because those forms where also ghosting which is why I moved the
> FrmDrawForm() function first.
>
> If I move the FrmDrawForm() first prior to initailizing the dynamic list,
> the form no longer "ghosts" on the other forms but the list is not
populated
> when the form is loaded.  If I call the FrmDrawForm() after the list is
> initialized, then the list works fine but the form ghosts on all the other
> forms.
>
>
> Here's the working (but "ghosting") routine:
>   case frmOpenEvent:
>    ListViewFormInit(frmP);
>    FrmDrawForm(frmP);
>    handled = true;
>    break;
>
> Here's the non-ghosting routine but the list does not load:
>   case frmOpenEvent:
>    FrmDrawForm(frmP);
>    ListViewFormInit(frmP);
>    handled = true;
>    break;
>
> I'm really stuck on a solution here.  Anyone have this problem??
>
> Thx!!
>
> Eddie
>
>
>



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

Reply via email to