B4i Library iCircularProgress- circular progress bar

Taha

Member
Licensed User
Longtime User
9.2.1. Ok, I will try to insert my code updating progress in your example.
 

Taha

Member
Licensed User
Longtime User
I modified Button1_Click event in you sample as below. Still the same problem.
B4X:
Sub Button1_Click
    Slider1.Enabled = False
    Button1.Enabled = False
    For i=0 To 1 Step 0.005
    CirPro.SetProgress(i,6000)   
    Next
End Sub
 

Taha

Member
Licensed User
Longtime User
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:

JanPRO

Well-Known Member
Licensed User
Longtime User
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
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:
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.
 

Descartex

Well-Known Member
Licensed User
Longtime User
I only changed the app name from the error message log.

Thanks
 

Attachments

  • Error.txt
    96.5 KB · Views: 3

Descartex

Well-Known Member
Licensed User
Longtime User
Thanks!!!
I thought i was making something wrong!!!
 

Descartex

Well-Known Member
Licensed User
Longtime User
@Erel Can you upload the file???
Thank you!!!!
 

Descartex

Well-Known Member
Licensed User
Longtime User
A ton of thanks for both
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…