so27 Active Member Licensed User Longtime User Mar 20, 2021 #1 Hi everybody, in B4A there is SetVisibleAnimated. Is there something similar at B4i for labels.
roumei Active Member Licensed User Mar 20, 2021 #2 You could try SetAlphaAnimated: B4X: ' Show lbl.Alpha = 0 lbl.Visible = True lbl.SetAlphaAnimated(200, 1) ' Hide lbl.Alpha = 1 lbl.SetAlphaAnimated(200, 0) ' use Sleep if needed: Sleep(200) lbl.Visible = False Upvote 0
You could try SetAlphaAnimated: B4X: ' Show lbl.Alpha = 0 lbl.Visible = True lbl.SetAlphaAnimated(200, 1) ' Hide lbl.Alpha = 1 lbl.SetAlphaAnimated(200, 0) ' use Sleep if needed: Sleep(200) lbl.Visible = False
so27 Active Member Licensed User Longtime User Mar 20, 2021 #3 Thank you. I have now changed the label as B4XView and then it works with: B4X: lblPW.SetVisibleAnimated(1500, True) Upvote 0
Thank you. I have now changed the label as B4XView and then it works with: B4X: lblPW.SetVisibleAnimated(1500, True)