Aug 3, 2015 Replies: 46 Name: iCircularProgress Version: 1.11 Description: iCircularProgress allows you to add circular progress bars to your app's layout Picture: Spoiler: Example App Documentation: Spoiler: iCircularProgress Events: _AnimationProgressChanged (Progress As Float) _AnimationFinish Methods: Initialize (EventName As String, Panel As Object, Left As Float, Top As Float, Radius As Float) SetProgress: (Progress As Float, DurationMS As Int) AddProgress: (Progress As Float, DurationMS As Int) SubtractProgress: (Progress As Float, DurationMS As Int) Properties: MarginTop As Float MarginLeft As Float Radius As Float LineWidth As Float CountdownMode As Boolean InAnimation As Boolean FilledColor As Int UnfilledColor As Int Progress As Float [read only] Panel As Object [read only] Notes/Tips: the method SetProgress sets the start progress automatically to 0 in the normal mode an 1 in the countdown mode all views on the panel which is used by CircularProgress will be removed Download "iCircularProgress 1.11.zip": http://bit.ly/2xAU4FV Feel free to ask questions Attachments Example.zip Example.zip 3.1 KB · Views: 191 Last edited: Sep 25, 2017 Click to expand...
Name: iCircularProgress Version: 1.11 Description: iCircularProgress allows you to add circular progress bars to your app's layout Picture: Spoiler: Example App Documentation: Spoiler: iCircularProgress Events: _AnimationProgressChanged (Progress As Float) _AnimationFinish Methods: Initialize (EventName As String, Panel As Object, Left As Float, Top As Float, Radius As Float) SetProgress: (Progress As Float, DurationMS As Int) AddProgress: (Progress As Float, DurationMS As Int) SubtractProgress: (Progress As Float, DurationMS As Int) Properties: MarginTop As Float MarginLeft As Float Radius As Float LineWidth As Float CountdownMode As Boolean InAnimation As Boolean FilledColor As Int UnfilledColor As Int Progress As Float [read only] Panel As Object [read only] Notes/Tips: the method SetProgress sets the start progress automatically to 0 in the normal mode an 1 in the countdown mode all views on the panel which is used by CircularProgress will be removed Download "iCircularProgress 1.11.zip": http://bit.ly/2xAU4FV Feel free to ask questions
JanPRO Well-Known Member Licensed User Longtime User Feb 28, 2016 #21 Which iOS version your are using?
Taha Member Licensed User Longtime User Feb 28, 2016 #22 9.2.1. Ok, I will try to insert my code updating progress in your example.
Taha Member Licensed User Longtime User Feb 28, 2016 #23 I modified Button1_Click event in you sample as below. Still the same problem. Code: Sub Button1_Click Slider1.Enabled = False Button1.Enabled = False For i=0 To 1 Step 0.005 CirPro.SetProgress(i,6000) Next End Sub
I modified Button1_Click event in you sample as below. Still the same problem. Code: Sub Button1_Click Slider1.Enabled = False Button1.Enabled = False For i=0 To 1 Step 0.005 CirPro.SetProgress(i,6000) Next End Sub
JanPRO Well-Known Member Licensed User Longtime User Feb 28, 2016 #24 Hi, ahh now i understand your issue: Don't use SetProgress or AddProgress in a loop, because then you change the progress of circular progress although there is a active animation. Jan
Hi, ahh now i understand your issue: Don't use SetProgress or AddProgress in a loop, because then you change the progress of circular progress although there is a active animation. Jan
Taha Member Licensed User Longtime User Mar 17, 2016 #25 Hi, Jan! It looks like it is not possible to have to have more than one instance of iCircularProgress? In the example I added a new smaller panel and set inside another circularprogress (CirPro2) with thinner line and renamed initial to CirPro1. See what happens if I move a progress slider on the attached pictures. Notice that I did not change control for slider it is still supposed to change progress for initial iCircularProgress (Slider1.Value = CirPro1.Progress) Attachments IMG_0072.PNG 50.8 KB · Views: 37 IMG_0073.PNG 49.4 KB · Views: 40 Last edited: Mar 17, 2016
Hi, Jan! It looks like it is not possible to have to have more than one instance of iCircularProgress? In the example I added a new smaller panel and set inside another circularprogress (CirPro2) with thinner line and renamed initial to CirPro1. See what happens if I move a progress slider on the attached pictures. Notice that I did not change control for slider it is still supposed to change progress for initial iCircularProgress (Slider1.Value = CirPro1.Progress)
JanPRO Well-Known Member Licensed User Longtime User Mar 17, 2016 #26 Hi, thank you for report this. It's a bug in the library. I will fix it soon and also turn iCircularProgress into a CustomView. Jan
Hi, thank you for report this. It's a bug in the library. I will fix it soon and also turn iCircularProgress into a CustomView. Jan
JanPRO Well-Known Member Licensed User Longtime User Mar 19, 2016 #27 Update v. 1.1 Changes: the property Top was renamed to MarginTop the property Left was renamed to MarginLeft iCircularProgress is now a CustomView bug fix (thanks to Taha) You can find the new version attached in the start post. Jan
Update v. 1.1 Changes: the property Top was renamed to MarginTop the property Left was renamed to MarginLeft iCircularProgress is now a CustomView bug fix (thanks to Taha) You can find the new version attached in the start post. Jan
Descartex Well-Known Member Licensed User Longtime User Jul 28, 2016 #29 I'm trying to make this work, but i cant... i've added the control to the designer and generate the members... but when i try to compile, remote compiler raises an error: Spoiler: Error Raised: Error: ** BUILD FAILED ** The following build commands failed: CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_globalvars.o B4iProject/b4i_globalvars.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Thanks in advance.
I'm trying to make this work, but i cant... i've added the control to the designer and generate the members... but when i try to compile, remote compiler raises an error: Spoiler: Error Raised: Error: ** BUILD FAILED ** The following build commands failed: CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_globalvars.o B4iProject/b4i_globalvars.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Thanks in advance.
JanPRO Well-Known Member Licensed User Longtime User Jul 28, 2016 #30 Hi, please post the whole error message. Jan
Descartex Well-Known Member Licensed User Longtime User Jul 28, 2016 #31 I only changed the app name from the error message log. Thanks Attachments Error.txt Error.txt 96.5 KB · Views: 3
JanPRO Well-Known Member Licensed User Longtime User Jul 28, 2016 #32 Ahh ok I see: You are using the hosted builder, right? @Erel has to upload the latest version of iCircularProgress to the server Jan
Ahh ok I see: You are using the hosted builder, right? @Erel has to upload the latest version of iCircularProgress to the server Jan
Descartex Well-Known Member Licensed User Longtime User Jul 28, 2016 #33 Thanks!!! I thought i was making something wrong!!!
Descartex Well-Known Member Licensed User Longtime User Jul 28, 2016 #34 @Erel Can you upload the file??? Thank you!!!!
C cloner7801 Active Member Licensed User Longtime User Jan 7, 2017 #37 I get this error : and I am using hostedbuilder
JanPRO Well-Known Member Licensed User Longtime User Jan 7, 2017 #38 I am not able to reproduce the error. Are you using the example? Jan
C cloner7801 Active Member Licensed User Longtime User Jan 7, 2017 #39 JanPRO said: Are you using the example? Click to expand... Yes.
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2017 #40 Works fine here with the hosted builder: Have you copied the XML file to the additional libraries folder? Which version of B4i are you using? Have you tried to clean the project (Ctrl + P)?
Works fine here with the hosted builder: Have you copied the XML file to the additional libraries folder? Which version of B4i are you using? Have you tried to clean the project (Ctrl + P)?