wxEuphoria: Progress Dialog for Non-Timer-Related Activity

new topic     » topic index » view thread      » older message » newer message

There's a demo showing how to use a progress dialog with a timer, but I want to show a progress bar for processing files. I'm not sure how to go about doing that. Do I put the file processing code in the timer code?! That doesn't seem right.

How can I use it like this?

-- turn on progress dialog 
for t=1 to length(filesList) do 
  -- update progress bar 
  -- process the file 
end for 
-- dismiss progress dialog 
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu