GUI - Showing or hiding a panel
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello,
I try, without success, to hide a (large) panel including another (small) panel. It works only if the panel is not including another panel.
I use
hSoftwareControl=get(handles.TakeOffControl_panel,'Children');
set(hSoftwareControl,'Enable','off');
The 'Enable' property is not recognized in the case of the large panel.
If somedy has already been able to hide the panel in this configuration.
Thank you
Jerome
<<C---Documents-nbsp-and-nbsp-Settings--a033578--Desktop--Enable.bmp>>
5 Comments
Nick
on 18 Jan 2013
try to use hSoftwareControl=get(handles.TakeOffControl_panel,'Children'); set(hSoftwareControl,'Enable','of');
Note the of is with one "f"
Adrian Dronca
on 18 Jan 2013
Try
set(hSoftwareControl,'Visible','OFF');
and make sure hSoftwareControl is the right handle
Daniel Shub
on 18 Jan 2013
Please provide a simple example which shows what you have done, what you get, and what you expect to happen.
Daniel Shub
on 18 Jan 2013
We need simplified code that we can run which can reproduce the problem if you want us to have a fighting chance of helping you. An image does not help. We also need a textual description of what you get with the code and what you expect to see. Please edit the question to include this.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!