how to close uipanel base on click on pushbutton
3 views (last 30 days)
Show older comments
praveen chandaliya
on 17 Sep 2017
Commented: praveen chandaliya
on 18 Sep 2017
how to close uipanel base on click on pushbutton
a6=uicontrol('parent', handles.hsp,'Style','pushbutton','FontSize',11,'FontWeight','bold', ...
'position',[5 20 60 20],'string','close','Callback',@mycloseFunction);
0 Comments
Accepted Answer
Walter Roberson
on 18 Sep 2017
outer = uipanel()
inner = uipanel('Parent', outer)
but = uicontrol('style', 'push', 'Callback', @(src, event) delete(outer) )
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!