Setting 'Visible' to 'off' in a Panel will stop its child objects from receiving inputs?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!