- Jun 6, 2020
- 11,559
- 4,422
I am animating a panel's visibility using:
B4X:
If I set the animation to a long duration, like 10 seconds, but then want to cancel the duration and set a new duration, it appears the original time duration will still execute.
For example, lets say I initially set the visibility to "False" (hide) the panel over a period of 10 seconds, then 5 seconds into the hide animation, I call the same animation with a new value of 20 seconds, the panel will still disappear at the original 10 second animation point.
How can I change the animation time without the original one be executed?
I tried these variations, but they did not work:
B4X:
B4X:
Panel.SetVisibleAnimated(TimeinMs, False)
If I set the animation to a long duration, like 10 seconds, but then want to cancel the duration and set a new duration, it appears the original time duration will still execute.
For example, lets say I initially set the visibility to "False" (hide) the panel over a period of 10 seconds, then 5 seconds into the hide animation, I call the same animation with a new value of 20 seconds, the panel will still disappear at the original 10 second animation point.
How can I change the animation time without the original one be executed?
I tried these variations, but they did not work:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید