Mar 7, 2019 Replies: 48 Made entirely with B4X with XUI SD_LiquidProgress Author: Star-Dust Version: 0.15 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 BubbleEffectEnable As Boolean BubbleIntensity As Int [0..255] TextSize As Int TextVisible As Boolean Value As Int Value 0 to 100 WaveColor As Int CircleLightEffect As Boolean Attachments aSample1.zip aSample1.zip 9.4 KB · Views: 1,800 iSample1.zip iSample1.zip 2.7 KB · Views: 967 jSample1.zip jSample1.zip 2.4 KB · Views: 1,010 SD_LiquidProgress 0.15.zip SD_LiquidProgress 0.15.zip 11.1 KB · Views: 323 jSD_LiquidProgress 0.15.zip jSD_LiquidProgress 0.15.zip 11.4 KB · Views: 276 iSD_LiquidProgress 0.15.zip iSD_LiquidProgress 0.15.zip 144.6 KB · Views: 377 Last edited: Feb 8, 2026 Click to expand...
Made entirely with B4X with XUI SD_LiquidProgress Author: Star-Dust Version: 0.15 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 BubbleEffectEnable As Boolean BubbleIntensity As Int [0..255] TextSize As Int TextVisible As Boolean Value As Int Value 0 to 100 WaveColor As Int CircleLightEffect As Boolean
P personalapps Member Dec 1, 2024 #41 Almora said: this is a good idea, but it looks empty up to 0.5*10 Click to expand... You can try Klaus's class by modifying it https://www.b4x.com/android/forum/threads/fill-circle-based-on-slider-value.149699/#post-948728
Almora said: this is a good idea, but it looks empty up to 0.5*10 Click to expand... You can try Klaus's class by modifying it https://www.b4x.com/android/forum/threads/fill-circle-based-on-slider-value.149699/#post-948728
Star-Dust Expert Licensed User Longtime User Dec 1, 2024 #42 This is not a minimum and maximum, for the type of graphics such small progressions would not be perceptible. You would need to have a very large view and in any case below 10% they would be barely visible.
This is not a minimum and maximum, for the type of graphics such small progressions would not be perceptible. You would need to have a very large view and in any case below 10% they would be barely visible.
Almora Well-Known Member Licensed User Longtime User Dec 1, 2024 #43 if we think like a glass bottle, it's Decently full 100% of it, the values I use are usually between 0.1 and 4.
if we think like a glass bottle, it's Decently full 100% of it, the values I use are usually between 0.1 and 4.
AnandGupta Expert Licensed User Longtime User Dec 1, 2024 #44 0.1 to 4.0 range is 1 to 40 so you have something (X * 10) *2 to get the % for 2 to 80 and it will show correctly., X = 0.1 to 4.0 just add few to make it to 100, if you wish.
0.1 to 4.0 range is 1 to 40 so you have something (X * 10) *2 to get the % for 2 to 80 and it will show correctly., X = 0.1 to 4.0 just add few to make it to 100, if you wish.
james_sgp Active Member Licensed User Longtime User Feb 25, 2025 #45 Hi, I`m trying to use this in a Rectangle mode (width 95, height 190); but it seems the animation gets squashed and hidden. I can only get it to work, when the object is actually a square? Is this sommething that can be fixed, or i can fix? James
Hi, I`m trying to use this in a Rectangle mode (width 95, height 190); but it seems the animation gets squashed and hidden. I can only get it to work, when the object is actually a square? Is this sommething that can be fixed, or i can fix? James
Star-Dust Expert Licensed User Longtime User Feb 25, 2025 #46 james_sgp said: Hi, I`m trying to use this in a Rectangle mode (width 95, height 190); but it seems the animation gets squashed and hidden. I can only get it to work, when the object is actually a square? Is this sommething that can be fixed, or i can fix? James Click to expand... Even if you put a rectangular shape, it will always take the square shape in the center of the rectangle so as not to deformar with images. If the image disappears you, post an example in which you can see this defect so I can verify it.
james_sgp said: Hi, I`m trying to use this in a Rectangle mode (width 95, height 190); but it seems the animation gets squashed and hidden. I can only get it to work, when the object is actually a square? Is this sommething that can be fixed, or i can fix? James Click to expand... Even if you put a rectangular shape, it will always take the square shape in the center of the rectangle so as not to deformar with images. If the image disappears you, post an example in which you can see this defect so I can verify it.
james_sgp Active Member Licensed User Longtime User Feb 26, 2025 #47 Star-Dust said: Even if you put a rectangular shape, it will always take the square shape in the center of the rectangle so as not to deformar with images. If the image disappears you, post an example in which you can see this defect so I can verify it. Click to expand... Star Dust, attached is a samle, showing the issue. Attachments SampleLiquid-JC.zip SampleLiquid-JC.zip 9.4 KB · Views: 369
Star-Dust said: Even if you put a rectangular shape, it will always take the square shape in the center of the rectangle so as not to deformar with images. If the image disappears you, post an example in which you can see this defect so I can verify it. Click to expand... Star Dust, attached is a samle, showing the issue.