B4J Library [B4X] [XUI] jSD LiquidProgress (ProgressBar)

Made entirely with B4J with XUI

Download Here

jSD_LiquidProgress

Author:
Star-Dust
Version: 0.09
  • LiquidProgress
    • Functions:
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • Initialize (Callback As Object, EventName As String) As String
      • Invalidate
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
      • Wait (Milliseconds As long)
        Eg. use:
        SD_LiquidProgress1.Wait(2000)
        Sleep(2000)
    • Properties:
      • BackgroundColor As Int
      • BackgroundWaveColor As Int
      • TextSize As Int
      • TextVisible As Boolean
      • Value As Int
        Value 0 to 100
      • WaveColor As Int
      • CircleLightEffect As Boolean

The library is now moved here, you will find libraries and examples to download:

Video3.gif
video-4-gif.104254
 
Last edited:

giannimaione

Well-Known Member
Licensed User
Longtime User
...ma quante ne sai
 

moster67

Expert
Licensed User
Longtime User
E' un mago anche se non lo ammette....
He's a master although he won't admit it...
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
È stato un colpo di fortuna

It was a stroke of luck
 

Star-Dust

Expert
Licensed User
Longtime User
E' un mago anche se non lo ammette....
He's a master although he won't admit it...
Actually the source is really simple, sometimes we think things are more complicated.

I used a fragment of source that I had shared this forum and used it for a different purpose
 

Star-Dust

Expert
Licensed User
Longtime User
I could not explain this.:(
 

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.02

You can change colors and contains a method to pause the progression but keep the animation

B4X:
LiquidProgress1.Wait(PauseTime)
Sleep(PauseTime)

Video1.gif
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.03

B4X:
LiquidProgress1.TextVisible=False
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.04
 

Star-Dust

Expert
Licensed User
Longtime User
I started working on a version where the view fills with Beer. Very refreshing.
I need to improve the foam ... I'll study it a little bit

Unfortunately, I will not be able to distribute it

Video1.gif
 

Star-Dust

Expert
Licensed User
Longtime User

Star-Dust

Expert
Licensed User
Longtime User
Update 0.06
  • Propertie CircleLightEffect as Boolean
Video3.gif
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update 0.08
Add properties: TextColor as int​
 
Top