Page 1 of 1
Graphics into Progress bar
Posted: Thu Mar 10, 2016 1:45 pm
by Shikha kumari
Hello Everyone!!
I want to know whether we can convert a graphic into a progress bar or not. Actually I need a circular progress bar, I used graphics but how to do the progress task using that i got stuck there. Will u please help me out.
If there is other way to implement a circular progress bar then please suggest.
Re: Graphics into Progress bar
Posted: Thu Mar 10, 2016 2:28 pm
by Klaus
Hi Shikha,
you could use an opaque "oval" graphic for this!
1. Create an oval opaque graphic
2. Set its "startangle" property to e.g. 90
3. set its "arcangle" property in your "progress" repeat loop from 0 to 360
Is that what you mean?
Best
Klaus
Re: Graphics into Progress bar
Posted: Thu Mar 10, 2016 3:22 pm
by Thierry
Shikha kumari wrote:
If there is other way to implement a circular progress bar then please suggest.
You might find Hermann's stack interesting:
http://forums.livecode.com/viewtopic.ph ... 32#p136531
Best,
Thierry
Re: Graphics into Progress bar
Posted: Thu Mar 10, 2016 7:41 pm
by richmond62
Look at this.
10 minutes worth of work.
Re: Graphics into Progress bar
Posted: Fri Mar 11, 2016 6:21 am
by Shikha kumari
Thank you.....
I succeeded in my task with your support. Thank you to all...
Shikha
Re: Graphics into Progress bar
Posted: Tue Mar 15, 2016 6:31 am
by Shikha kumari
How can i change the color of my graphic?
Like from 0 to 90 its color is red after 90 it becomes yellow after 180 green and upto 360 it will be blue like this.
I tried some coding but it's not working.
Re: Graphics into Progress bar
Posted: Tue Mar 15, 2016 7:24 pm
by richmond62
Well, it might be time to do some work of your own . . .
Oh, well, here we go: