GUI - Showing or hiding a panel
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaires
Nick
le 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
le 18 Jan 2013
Try
set(hSoftwareControl,'Visible','OFF');
and make sure hSoftwareControl is the right handle
Daniel Shub
le 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
le 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.
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!