Doing a Progress Bar

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


Hello,

>  > 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
>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.
>  > >


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
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the use-livecode mailing list