Doing a Progress Bar

Edwin Gore edgore at shinra.com
Sat Apr 19 15:02:00 EDT 2003


Has anyone found a good way of doing a progress bar? When I am importing
stuff from a tab-delimited file, I would like to have a modal dialog up with
a progress bar, showing, well, the progress of the operation.

Making the bar is no problem - the problem I am having is that I don't want
the user to see all of the moving between cards and importing of data that
is going on. I want them to see the main window remain the same and the
progress bar upadte in the modal window over it.

Since lock screen locks everything up, I haven't been able to find an
elegant way of doing this. My first effort brute force solution - save the
current card in the main window, lock the screen, do some stuff, push the
current card I am working on, go to the saved card, update the progress bar,
lock the screen, pop the card I was working on, reapet until done - works,
but it's very, very slow.

Anyone have any better solutions?

If only there were like a "lock window" command, or something like that.





More information about the use-livecode mailing list