Azzera filtri
Azzera filtri

How can make the user not be able to change tabs by clicking on them Matlab app designer?

19 visualizzazioni (ultimi 30 giorni)
Hello guys, I have five tabes in my app
ideally,
When you first the code, it gives you the welcome Tab. Then when you click Begin button, it takes you to the Home Tab. In the home Tab, you make a selection. Then you click confirm button. Then click on the Go Button it takes you to the appropriate Tab (Mechanical propulsion or AC or DC ). Also, The user can go to the home page by clicking on the home bottom.
However, the user can switch between Tabs by clicking on the Tabs the user wishes to open.
How can I stop this behavior by only allowing the user to move between Tabs by clicking on the buttons and following the path I want him to take?

Risposta accettata

Adam Danz
Adam Danz il 9 Feb 2023
See this related answer: Control tab selectivity.
  2 Commenti
Othman Alkandri
Othman Alkandri il 10 Feb 2023
Thank you for your answer. Using the link opened my eyes to finding the solution.
Check out the code. You just need to put in startupFun
app.InverterParametersTab.Parent = [];
app.PhysicalParametersTab.Parent= [];
In the button, you want to make the tabs available again use.
app.InverterParametersTab.Parent = app.TabGroup;
app.PhysicalParametersTab.Parent= app.TabGroup;

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by