pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Brind <christopher.br...@googlemail.com>
Subject Re: Activity Indicator During Load
Date Fri, 19 Mar 2010 09:35:37 GMT
I perhaps shouldn't have said 'when Pivot has finished' loading. :)

So typically in the startup method you'll call window.open() to show the UI,
just after that open your modal dialog and then kick off your data loading
threads.  Once your data loading threads have finished, close the dialog.

Hope that helps.

Cheers,
Chris




On 19 March 2010 09:12, Scott Lanham <lists@sael.com.au> wrote:

> That is a good idea but I don't know how to tell when Pivot has finished
> loading.
>
> On Fri, 19 Mar 2010 05:52:39 pm Christopher Brind wrote:
> > How about just before you start your data loading, after Pivot has
> loaded,
> > but before the user has chance to start clicking, popup a *modal dialog
> >  *with just a progress indicator in it (and maybe a label which you could
> >  use to show status messages).  Then when your data loading has finished,
> >  close the dialog programatically.
> >
> > Cheers,
> > Chris
> >
> > On 19 March 2010 04:14, Scott Lanham <lists@sael.com.au> wrote:
> > > Hi Guys,
> > >
> > > It has been a while since I have asked a question on this list :-)
> > >
> > > When my application starts up it loads a heap of data into various
> > > components.
> > > This was fine for a while but now it is taking a long time and while
> the
> > > seconds tick away I just see a blank window. It looks like the program
> > > has hung which is not a good thing.
> > >
> > > I can offload the data loading into separate threads and all the
> > > components will
> > > appear quickly but I don't want the user to start trying to use those
> > > components until they are populated with data.
> > >
> > > Is there a way that I can have a progress indicator take over the
> screen
> > > (after the components have displayed) until my data loading threads
> have
> > > finished?
> > >
> > > Thanks heaps,
> > >
> > > Scott.
> >
>

Mime
View raw message