[Pharo-project] Progress bars
bschwab at anest.ufl.edu
Sat Sep 19 18:57:29 EDT 2009
Thanks for the reply. That worked nicely, and beyond that, so did LDAPlayer. I had a list of roughly 1200 people to look up in a directory, and Pharo stood up to it nicely. If only the entries were of like quality, but that's another problem (one that we are trying to address). BTW, there were far more than 1200 searches because (did I mention the entries are junk?<g>) I added logic to retry w/o the given name under some circumstances. Some searches exceeded limits that the directory found tolerable (I guess it did not like keeping up with the Jones' - US slag based pun alert).
It would still be nice to have a progess dialog with a cancel button, but I am very pleased to see Pharo stand up to the network traffic and the debugging. If we're not careful, we will end up with a clean, robust, open source Smalltalk :) Thanks to all for the great progress to date!
From: pharo-project-bounces at lists.gforge.inria.fr [mailto:pharo-project-bounces at lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse
Sent: Friday, September 18, 2009 12:51 PM
To: Pharo-project at lists.gforge.inria.fr
Subject: Re: [Pharo-project] Progress bars
'Progress' displayProgressAt: Display center
during: [:bar | 0 to: 1000 do: [:i | bar value: i. (Delay
forMilliseconds: 2) wait]]
On Sep 18, 2009, at 7:33 PM, Schwab,Wilhelm K wrote:
> Hello all,
> Is there a preferred way to produce a progress bar? The example below
> seems to work, but is there a better way? Is there a way to provide a
> cancel button?
> #( 1 2 3 4 5 )
> do:[ :each |
> ( Delay forMilliseconds:500 ) wait.
> displayingProgress:'Gratuitous Progress Bar.'
> ] fork.
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
More information about the Pharo-dev