Setting 'Visible' to 'off' in a Panel will stop its child objects from receiving inputs?

3 visualizaciones (últimos 30 días)
I have a lot of panels in my GUI. Most of these panels are of same size and have same layout of objects such as text box, edit, popup, etc. Due to large number of these panels, I have implemented a method to scroll through the panels in my GUI. To make a panel go out of visibility I change it's visible property to off but not of any of it's child objects. I am concerned that even when my panel is not visible it's child objects (such as edit box, popup and check box) can receive inputs from mouse or keyboard when I click over it's location.
I tried to find a concrete answer for this question but came out with nothing, I also tried to see if the child objects in the invisible panel reacts to my inputs and it turns out they don't. But I am still not sure, because making a panel invisible by setting it's 'Visible' property to 'off' does't make the 'Visible' property of it's child panels 'off' as well, so why won't they react to my inputs??

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by