Doing a Progress Bar

Yves COPPE yvescoppe at
Sat Apr 19 16:15:01 CDT 2003


>  > Edwin Gore wrote:
>>  > 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
>>  > 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
>>  > the user to see all of the moving between cards and importing of data
>>  > 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
>>  > current card in the main window, lock the screen, do some stuff, push
>  > > current card I am working on, go to the saved card, update the progress
>>  > lock the screen, pop the card I was working on, reapet until done -
>>  > but it's very, very slow.
>  > >

You may refer to a card without having to go to.
f. ex.
repeat with x = 1 to the number of cds
    put myData into fld "myfldName" of cd x

and having the palette or the modal DLOG of the progress bar above.

it should work
I make my progress bar on this way


Email : yvescoppe at

More information about the use-livecode mailing list