B4A Class [B4X] [XUI] SD: RadarProgressView (With Source Code)

Discussion in 'Additional libraries, classes and official updates' started by Star-Dust, May 29, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    I created a new class of type CustomView [XUI]
    It is a ProgressBar that simulates a submarine radar.
    I attached an example to this post and the source code of the class

    1.gif

    Use:
    Code:
    Sub Globals
        
    Private RadarProgress1 As RadarProgress
    End Sub

    Sub Activity_Create(FirstTime As Boolean)
        
    Activity.LoadLayout("Layout1")
    End Sub

    Sub ButtonRound_Click
        
    For i=0 To 100
            RadarProgress1.Value=i
            Sleep(
    30)
        
    Next
    End Sub
     

    Attached Files:

    Last edited: May 30, 2018
  2. Erel

    Erel Administrator Staff Member Licensed User

    I believe that this line can be removed...
     
    Star-Dust likes this.
  3. Hanstel

    Hanstel Member Licensed User

    I need not just a progress bar but a live display of gps devices as described on the original post
     
  4. Star-Dust

    Star-Dust Expert Licensed User

    You should not write answers of conversations from other threads in this thread. Those who read do not understand what you're talking about and you're off topic.

    This thread is related to the library and questions related to the use of this library or any bugs. For other issues open other threads.

    Thank you
     
    asales likes this.
  5. Star-Dust

    Star-Dust Expert Licensed User

    Update code (to improve compatibility with ios)

    upload_2018-8-23_10-35-4.png
     
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice