Setting 'Visible' to 'off' in a Panel will stop its child objects from receiving inputs?
3 views (last 30 days)
Show older comments
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??
0 Comments
Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!