Douwe Siegersma Member Licensed User Longtime User Apr 13, 2022 #1 Hello, At some point in the app I want to disable or enable some buttons and other objects. I now have subs that Disables or enables the objects. It is quite a list and I thought is was a cunning plan to hide these object by placing a panel above them. I set the elevation of the panel to 5 but all objects are still clickable. Even when the color of the panel is set opaque.
Hello, At some point in the app I want to disable or enable some buttons and other objects. I now have subs that Disables or enables the objects. It is quite a list and I thought is was a cunning plan to hide these object by placing a panel above them. I set the elevation of the panel to 5 but all objects are still clickable. Even when the color of the panel is set opaque.
klaus Expert Licensed User Longtime User Apr 13, 2022 #2 Add an empty event routine for the Panel like: B4X: Copy Private Sub Panel1_Click End Sub Another solution, I would use, is to put the Buttons on a Panel and set its Visible property to True or False. Upvote 0
Add an empty event routine for the Panel like: B4X: Copy Private Sub Panel1_Click End Sub Another solution, I would use, is to put the Buttons on a Panel and set its Visible property to True or False.
Douwe Siegersma Member Licensed User Longtime User Apr 13, 2022 #3 Thank you Klaus, I will try both and let you know the result. Upvote 0
Douwe Siegersma Member Licensed User Longtime User Apr 13, 2022 #4 The first option you suggested works like a charm! ? Upvote 0