I use the following code to hide or show views or panels:
B4X:
Sub vwShow(vw As View, flg As Boolean)
If (vw.Visible = flg) Then Return
vw.Enabled = flg
vw.Visible = flg
If (flg) Then vw.BringToFront Else vw.SendToBack
End Sub
It might be overkill, but it has always worked successfully.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.