I am building an application that can access the serial port to read
data. Because this sometimes takes a long time, I want to use a
progressbar while the app is reading the port. The amount of data on
the port is not known until it's loaded, so I can't used a variable
like num_records in the bar.
If you don't mind the progress bar not showing an actual percentage complete then you can do it similar to the demo. Look at the wxGuage in the demo. It repeatedly fills the guage and then resets it as you move the mouse. It will give the user the warm fuzzy that the program hasn't hung.
ยทยทยท
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users