F frederic Member Licensed User Longtime User Jun 18, 2018 #1 Hello, In a Sub I write : Panel3.RemoveAllViews it's ok the Panel don't show any more, I have no other views, just I see a camera but in another Sub I write : Panel3.Initialize("Panel3") Activity.AddView(Panel3, 50%x,0 , 50%x, 90%y) but the panel don't want to reappear, the screen stay black? What are the good command? Thanks Frédéric
Hello, In a Sub I write : Panel3.RemoveAllViews it's ok the Panel don't show any more, I have no other views, just I see a camera but in another Sub I write : Panel3.Initialize("Panel3") Activity.AddView(Panel3, 50%x,0 , 50%x, 90%y) but the panel don't want to reappear, the screen stay black? What are the good command? Thanks Frédéric
R ronell Well-Known Member Licensed User Longtime User Jun 18, 2018 #2 frederic said: Panel3.RemoveAllViews Click to expand... this will not remove the panel3, only the childviews on that panel --- you can change your code to this B4X: panel3.RemoveView Upvote 0
frederic said: Panel3.RemoveAllViews Click to expand... this will not remove the panel3, only the childviews on that panel --- you can change your code to this B4X: panel3.RemoveView
F frederic Member Licensed User Longtime User Jun 18, 2018 #3 yes, but now how do I make the panel appear again? in other Sub during the program. Upvote 0
R ronell Well-Known Member Licensed User Longtime User Jun 18, 2018 #4 frederic said: yes, but now how do I make the panel appear again? in other Sub during the program. Click to expand... B4X: activity.addview(panel3,0,0,100%x,100%y) Upvote 0
frederic said: yes, but now how do I make the panel appear again? in other Sub during the program. Click to expand... B4X: activity.addview(panel3,0,0,100%x,100%y)