How to use progress bar

Sarah Reichelt sarahr at genesearch.com.au
Tue Jun 8 00:54:14 EDT 2004


> Does anyone know how to make the progress bar work with lock screen in
> affect?
>
No, it won't work I'm afraid. What you could try is getting the data 
from each card by name or number instead of going to each card.

e.g. in very simple form:

on mouseUp
   repeat with c = 1 to the number of cards
     put fld "Data" of cd x & cr after collectedData
	set the thumbPos of scrollbar "Progress" to c
   end repeat
   -- do something with collectedData
end mouseUp

As others have pointed out, if you have lots of repeats, you are better 
not to update the progress bar every time, so you can use something 
like:

if c mod 10 = 0 then set the thumbPos ....

Cheers,
Sarah



More information about the use-livecode mailing list