How to set windowstyle modal in APP Designer?
Show older comments
The button named OpenFile ,the callback function is uigetfile.After I click the button,the UIFigure is not in front of my computer screen.In GUIDE,without this problem.
I can't set windowstyle modal in APP Designer.


1 Comment
Type this in callback function to know the windowatyle mode
% if true
% code
% end
get(0,'DefaultFigureWindowStyle')
If it shows docked then you can set it normal using
% if true
% code
% end
set(0,'DefaultFigureWindowStyle' , 'normal')
Or
% if true
% code
%end
set(gcf, 'WindowStyle','normal');
Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!