johnf wrote: > On Monday 08 September 2008 02:48:52 pm Paul McNett wrote: >> johnf wrote: >>> On Monday 08 September 2008 02:14:26 pm johnf wrote: >>>> On Monday 08 September 2008 02:05:44 pm Paul McNett wrote: >>>>> dabo.ui.yieldUI() >>>> Oh yea! Thanks at least now I'm getting some sort of update. I >>>> continue testing. >>> I guess I spoke to soon. It appears that it works only the first time. >> In addition to calling refresh() before the yieldUI(), check your >> sourcecode. In the code you posted, you've never defined the Range of >> the gauge, which means it'll get the default Range of 100. > Yes I did not set the Range. Even when I set it to 2 I only get half of the > gauge to work
Your Range should be the size of your file in bytes. Update Value with the number of bytes transferred so far. So, a Range of 100 (or 2) would be overstepping the maximum value of the gauge almost immediately, which could certainly be the problem. You could also keep Range at 100 and update Value with the percentage of the file uploaded, which is easy to calculate. But the point is, make sure Range and Value are related in some way. :) Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
