B4A Library NumberProgressBar

Discussion in 'Additional libraries, classes and official updates' started by Johan Schoeman, Aug 4, 2015.

  1. Johan Schoeman

    Johan Schoeman Expert Licensed User

    It wraps this Github project. Library files are in the /files folder of the B4A project. Copy them to your additional library folder. Also posting the java code should anyone want to amend it.

    2.gif
    1.png


    As it stands at present:
    numberprogressbar
    Author:
    Johan Schoeman
    Version: 1
    • NumberProgressBar
      Fields:
      • ba As BA
      Methods:
      • AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int)
      • BringToFront
      • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
      • Initialize (EventName As String)
      • Invalidate
      • Invalidate2 (arg0 As Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As Bitmap)
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
      • incrementProgressBy (by As Int)
      Properties:
      • Background As Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • Left As Int
      • Max As Int
      • Prefix As String
      • Progress As Int
      • ProgressTextColor As Int [write only]
      • ProgressTextSize As Float
        Get progress text size.
      • ReachedBarColor As Int
      • ReachedBarHeight As Float
      • Suffix As String
      • Tag As Object
      • TextColor As Int [read only]
        Get progress text color.
      • Top As Int
      • UnreachedBarColor As Int
      • UnreachedBarHeight As Float
      • Visible As Boolean
      • Width As Int
     

    Attached Files:

  2. DonManfred

    DonManfred Expert Licensed User

  3. Johan Schoeman

    Johan Schoeman Expert Licensed User

    susu and DonManfred like this.
  4. DonManfred

    DonManfred Expert Licensed User

    no problem Johan :)
     
    susu, Johan Schoeman and GabrielM like this.
  5. somed3v3loper

    somed3v3loper Well-Known Member Licensed User

    Harris, Johan Schoeman and DonManfred like this.
  6. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    Thanks SO much for the source to the wrapper. It really helps us Java babies!!!!
     
    Johan Schoeman 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