GUI - Showing or hiding a panel
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentare
Nick
am 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
am 18 Jan. 2013
Try
set(hSoftwareControl,'Visible','OFF');
and make sure hSoftwareControl is the right handle
Daniel Shub
am 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
am 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.
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!