B4J Question [Solved] B4XView - SetRotationAnimated works once only

oparra

Well-Known Member
Licensed User
Before:
Button1.SetRotationAnimated(0, 0)


Sub Button1_Click
Label1.Text = "Rotating..."
Sleep(0)
Button1.SetRotationAnimated(0, 0)
Button1.SetRotationAnimated(1000, 360)
Sleep(1030)
Label1.Text = "Completed"
End Sub
 

oparra

Well-Known Member
Licensed User
[Anyway it is not for me, so I'm trying to adapt the CircularProgressBar class, shamelessly copying 😁]
You :oops::oops:

remember this:
 
Top