Hello,
Im new to the progress so bare with me...
Basically what I want to do is move the progress bar along 2 steps for instance over 10 seconds. I do not actually want it to be loading something and rather for it to just act as an animation before proceeding to the next card. Hopefully I am clear in what I am saying and somebody can help;
Many Thanks
Jamie
Progress Bar
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Progress Bar
Hi.
Make a progressbar. These sorts of gadgets are all "scrollBars" but with different properties. Make a button with this in its script:
Now please examine what this somewhat verbose handler does. You will likely have to think about initializing it now and then, and resetting it. Several items in the handler are arbitrary. Write back with your thoughts on all of that.
Craig Newman
Make a progressbar. These sorts of gadgets are all "scrollBars" but with different properties. Make a button with this in its script:
Code: Select all
on mouseUp
put the endValue of scrollBar 1 into tEnd
put round(tEnd / 50) into increment
repeat 10
set the thumbPos of scrollbar 1 to the thumbPos of scrollbar 1 + increment
wait 5
end repeat
end mouseUp
Craig Newman
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: Progress Bar
Jamie..
Have a look at the attached... it might help...![Smile :-)](./images/smilies/icon_smile.gif)
Have a look at the attached... it might help...
![Smile :-)](./images/smilies/icon_smile.gif)
- Attachments
-
- Untitled 1.livecode.zip
- (1.08 KiB) Downloaded 199 times
Re: Progress Bar
Thank you both for your answers. I used yours dunbarx in the end. Again though thank you both for your help.
Jamie
Jamie