필터 지우기
필터 지우기

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

조회 수: 19 (최근 30일)
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?

채택된 답변

Adam Danz
Adam Danz 2023년 2월 9일
See this related answer: Control tab selectivity.
  댓글 수: 2
Othman Alkandri
Othman Alkandri 2023년 2월 10일
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;

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by