Graphics into Progress bar
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 19
- Joined: Fri Feb 19, 2016 7:48 am
Graphics into Progress bar
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.
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
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
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
You might find Hermann's stack interesting:Shikha kumari wrote: If there is other way to implement a circular progress bar then please suggest.
http://forums.livecode.com/viewtopic.ph ... 32#p136531
Best,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Graphics into Progress bar
Look at this.
10 minutes worth of work.
10 minutes worth of work.
- Attachments
-
- PROGRESS.livecode.zip
- Here's the stack.
- (148.9 KiB) Downloaded 178 times
-
- Posts: 19
- Joined: Fri Feb 19, 2016 7:48 am
Re: Graphics into Progress bar
Thank you.....
I succeeded in my task with your support. Thank you to all...
Shikha
I succeeded in my task with your support. Thank you to all...
Shikha
-
- Posts: 19
- Joined: Fri Feb 19, 2016 7:48 am
Re: Graphics into Progress bar
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.
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.
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Graphics into Progress bar
Well, it might be time to do some work of your own . . .
Oh, well, here we go:
Oh, well, here we go: