B4J Question Modal Form setAlphaAnimated before calling Close

Cableguy

Expert
Licensed User
Longtime User
Hi guys...

I'm trying to smooth out the showing mechanism of one of my modal forms...
I do a Alpha animation from 0 to 1, wait 2secs and them Alpha Animate it from 1 to 0, no problems there.
My issue is that I want to close my modal form after the Alpha Anim has ended...
I know, I could use a timer... but is there anyway I can go without it?
 

stevel05

Expert
Licensed User
Longtime User
Have you tried closing it using CallsubDelayed? That may wait until the animation has finished. It's worth a try.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
didn't thought of that... will try...
Just did, its a no-go! et closes the modal before animation has ended!
 
Last edited:
Upvote 0
Top