I have recently installed Android 5.0.2 on my phone and I have now discovered a problem with one of the apps I have developed. In my app I am displaying 3 buttons and under certain circumstances, I would like to display a panel with different buttons where the user has to make a selection, before selecting one of the 3 buttons.
The problem I got now is that the original buttons remains in front of the panel.
At startup I use the following 2 lines:
When I decide to display the panel I would just reversed the above:
The problem I got now is that the original buttons remains in front of the panel.
At startup I use the following 2 lines:
pnlLearner.Visible = False
pnlLearner.SendToBack
pnlLearner.SendToBack
When I decide to display the panel I would just reversed the above:
pnlLearner.Visible = True
pnlLearner.BringToFront
The only way I can solve this is to set the Visible state of the buttons to False when I want to display the panel. Is there a different behavior of BringToFront or was I just lucky before?pnlLearner.BringToFront