AppDesigner UIPanel Hide Visibility
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ian Hersom
am 13 Aug. 2016
Kommentiert: Johannes Rebling
am 25 Jan. 2020
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 Kommentare
Akzeptierte Antwort
Swathik Kurella Janardhan
am 16 Aug. 2016
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
Weitere Antworten (1)
yumeng Jiang
am 30 Okt. 2019
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 Kommentar
Johannes Rebling
am 25 Jan. 2020
You have to create individual apps if you want independent, overlapping windows.
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!