How to change components to other tabs in app designer?

조회 수: 29 (최근 30일)
Wictor Oliveira
Wictor Oliveira 2022년 10월 27일
댓글: Wictor Oliveira 2022년 11월 1일
I created a panel inside a certain tab of TabGroup app designer. Inside this panel I created various other components.
But now, as my app grows, I want to change this panel to another tab.
I can change the location of the components in the 'Component Browser', but it does not allow to change components to other Tabs.
The createComponents function is not editable to set where to create it.
I am using the 'Parent' property in the 'startupFcn' to change it to the tab I want, but in the 'Design View' I still have to work on them inside the initial tab.
Is there a way to move components to other tabs? Is there a way to edit the createComponents function?
  댓글 수: 4
Shivansh
Shivansh 2022년 10월 31일
Hi!
I am also using R2022a. As you can see in the screenshot attached below that if I am making right click on the panel, I am getting “cut” option.
Then I am simply using Paste option in another Tab to transfer the panel.
Hope this helps!
Wictor Oliveira
Wictor Oliveira 2022년 11월 1일
Nice! Thank you so much. I totally missed that. I was right clicking it only in the component browser only. Those options did not appear there.

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

답변 (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