A Armani Member Jul 2, 2024 #1 Hello All, I'm requesting your help if you know how to fix it. I would like to know if it's possible to set the animation of AnotherProgressBar from Right to Left ? I saw this post from @LucaMs that is visually matching my expectation... I'm suspecting it's done with something like B4X: Copy AnotherProgressBar1.mBase.Rotation=180 ... but, this is not what I want... I need to have progressbar size according to Value from Left to Right To make my request clear , here below the expected result Many thanks
Hello All, I'm requesting your help if you know how to fix it. I would like to know if it's possible to set the animation of AnotherProgressBar from Right to Left ? I saw this post from @LucaMs that is visually matching my expectation... I'm suspecting it's done with something like B4X: Copy AnotherProgressBar1.mBase.Rotation=180 ... but, this is not what I want... I need to have progressbar size according to Value from Left to Right To make my request clear , here below the expected result Many thanks
Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2024 #2 You will need to modify the code. Unzip XUI Views.b4xlib and extract the module. Rename it and add it to your project. You need to play with the brush offset: Code: Copy If Vertical Then BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + BrushOffsetDelta Else BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + BrushOffsetDelta End If Upvote 0
You will need to modify the code. Unzip XUI Views.b4xlib and extract the module. Rename it and add it to your project. You need to play with the brush offset: Code: Copy If Vertical Then BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + BrushOffsetDelta Else BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + BrushOffsetDelta End If
A Armani Member Jul 3, 2024 #3 Hello Erel, Thanks a lot for your answer. I'll work on this way. Really appreciate the help provided on this forum. Upvote 0
Hello Erel, Thanks a lot for your answer. I'll work on this way. Really appreciate the help provided on this forum.