[wxruby-users] Creating a Progress Bar

Jason Shelton jas.shelton at hotmail.com
Mon Jan 5 15:42:41 EST 2009


All,
 
I am attempting to add a progress bar to my application.  What is prompting the progress bar to be displayed is the pressing of a button.  This button performs an action, and for the sake of an example, lets say that it is printing one million words to the screen.  While these words are printing to the screen, I want a progress bar to be running.  I want the bar to fill completely, then go blank, and fill completely over and over again until all of the words are printed to the screen.  Once all of the words are printed, I want the progress bar to stop its routine. I have the progress bar up and running, but my problem is that I am using a while loop to continuously fill the bar, so in turn it is running infinitely, and the code that comes after it, the words printing, is never being executed.  I can elaborate if necessary.  Thanks in advance for all of your assistance.
 
- Shelton
_________________________________________________________________
Send e-mail anywhere. No map, no compass.
http://windowslive.com/oneline/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090105/63dcf1a9/attachment.html>


More information about the wxruby-users mailing list