Progress Bar: continual spin
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Progress Bar: continual spin
Once when I was downloading some livecode sample apps,
I saw one where the Progress Bar just did a continual spin,
not based on any 'Thumb Position' property.
I thought, this could be useful. Now that I need it, I can't remember where I saw it.
Does anyone know how to set the Progress Bar to a continual spin?
I saw one where the Progress Bar just did a continual spin,
not based on any 'Thumb Position' property.
I thought, this could be useful. Now that I need it, I can't remember where I saw it.
Does anyone know how to set the Progress Bar to a continual spin?
Re: Progress Bar: continual spin
Spin.
Do you mean it rotated? While it was progressing?
Do you mean it rotated? While it was progressing?
Re: Progress Bar: continual spin
The progress bar would move from start to finish and back again, over and over.
Kind of like an animated GIF.
Kind of like an animated GIF.
Re: Progress Bar: continual spin
Would one of the progress bar images in the Image Library do the trick for you?
Re: Progress Bar: continual spin
Good idea. I'll use that for now.
When I see that original app again,
I'll post the Progress Bar settings back in this thread.
When I see that original app again,
I'll post the Progress Bar settings back in this thread.
Re: Progress Bar: continual spin
There's one on revOnline, maybe this one?
http://revonline2.runrev.com/stack/440/Spinner-Store
http://revonline2.runrev.com/stack/440/Spinner-Store
Re: Progress Bar: continual spin
The spinner does not work while a script is running, so far as I have been able to tell.
Re: Progress Bar: continual spin
Howdy townsend,
I've put together a custom progress bar control using an image aligned inside a simple graphic rectangle...
...you can use whatever image you want of your own preference and adjust the maximum "bar" width, speed and number of iterations pretty easily to suit your needs.
Works pretty well on my Win7 machine, but I haven't checked it out on any other platform. The stack and original image used is attached to this message if you want to take it for a test spin.
Best regards,
Doc
I've put together a custom progress bar control using an image aligned inside a simple graphic rectangle...
...you can use whatever image you want of your own preference and adjust the maximum "bar" width, speed and number of iterations pretty easily to suit your needs.
Works pretty well on my Win7 machine, but I haven't checked it out on any other platform. The stack and original image used is attached to this message if you want to take it for a test spin.
Best regards,
Doc
- Attachments
-
- CustomProgressBar.zip
- (2.61 KiB) Downloaded 431 times
Re: Progress Bar: continual spin
I should note that you can easily code around using the reset button...
...I basically just used that while getting things set up, and didn't think about removing it.
-Doc-
Edit:
Added a slightly different variation in this test stack and without the reset button.
...I basically just used that while getting things set up, and didn't think about removing it.
-Doc-
Edit:
Added a slightly different variation in this test stack and without the reset button.
- Attachments
-
- CustomProgressBar2.zip
- (22 Bytes) Downloaded 447 times
Re: Progress Bar: continual spin
I have created a simple Spinner runtime to address the problem of blocking operations preventing the spinner from animating. Apparently attachments here are very limited, so contact me off list at bobs @twft. com to get your hands on it. This is MAC ONLY, unless someone else wants to piddle with it to get it to work with Windows.
You run the app from a stack by executing a simple Applescript:
tell application "Spinner"
activate
end tell
You can then send the app a few commands:
to change the location: send "moveMe" && quote & theLoc & quote to program "Spinner" -- put the screen location into theLoc first!
to change the prompt: send "setPrompt" && quote & thePrompt & quote to program "Spinner" -- put some text into thePrompt first!
to show the spinner window: send "showMe" to program "Spinner" -- it starts up invisible
to hide the spinner window: send "hideMe" to program "Spinner" -- it floats above all windows, even those from other apps
I highly encourage anyone who wants, to add to it. The first thing it needs is the ability to change the kind of progress indicator it uses. Right now it has an animated gif of a spinning wheel, but a new command or property could be added along with some other animated gifs to change that. A real progress bar could also be added that you could send a percentage to fairly easily.
You run the app from a stack by executing a simple Applescript:
tell application "Spinner"
activate
end tell
You can then send the app a few commands:
to change the location: send "moveMe" && quote & theLoc & quote to program "Spinner" -- put the screen location into theLoc first!
to change the prompt: send "setPrompt" && quote & thePrompt & quote to program "Spinner" -- put some text into thePrompt first!
to show the spinner window: send "showMe" to program "Spinner" -- it starts up invisible
to hide the spinner window: send "hideMe" to program "Spinner" -- it floats above all windows, even those from other apps
I highly encourage anyone who wants, to add to it. The first thing it needs is the ability to change the kind of progress indicator it uses. Right now it has an animated gif of a spinning wheel, but a new command or property could be added along with some other animated gifs to change that. A real progress bar could also be added that you could send a percentage to fairly easily.
Re: Progress Bar: continual spin
If you zip it first it should attach ok.
Re: Progress Bar: continual spin
I did. It was rejected for being too large.sturgis wrote:If you zip it first it should attach ok.
Re: Progress Bar: continual spin
Ah k. Knew that! *hides*
Re: Progress Bar: continual spin
It's also basic spammer rejection - you have to have built up a certain credibility here by x number of posts before you can attach files.