AppDesigner UIPanel Hide Visibility
33 次查看(过去 30 天)
显示 更早的评论
I have several overlapping UIPanel's in AppDesigner and I want all but one panel to be hidden upon creation of the figure or soon thereafter. AppDesigner doesn't let you edit the constructor for the object and there is no property in the Component Browser for me to edit visibility. There is a .Visible property contained under app.panel.Visible that I believe can be set. Just can't figure out how to initialize this setting automatically without access to the constructor or the app creation.
0 个评论
采纳的回答
Swathik Kurella Janardhan
2016-8-16
You can edit the startupFcn in the 'Code View' of your AppDesigner to set the Visible property of the panel.
function startupFcn(app)
app.Panel.Visible = 'off';
end
更多回答(1 个)
yumeng Jiang
2019-10-30
excuse me ,how to make several overlapping UIPanel's in AppDesigner?? when i drag button or listbox or ...,they always change their parent,they run to the last panel ,thx
1 个评论
Johannes Rebling
2020-1-25
You have to create individual apps if you want independent, overlapping windows.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!