Manipulate several uiObject simultneously.

8 views (last 30 days)
I migrate from guide to appdesigner.
I was able to put the handles of many uiobject into one liste in order to chane their properties with one line.
How can I do the same with appdesigner ?
liste1=[handles.panel_SET,handles.text_RotBary,handles.checkbox_AxeRot,... handles.FitAxeXmin,handles.FitAxeYmin,handles.FitAxeXmax,handles.FitAxeYmax,handles.text_XAxeRot,handles.text_YAxeRot,... handles.text_RotBary2,handles.text_AxeX,handles.text_AxeY,handles.edit_AxeRotX,handles.edit_AxeRotY];
liste2=handles.radiobuttonVector,handles.radiobuttonArea,handles.text120,handles.editPadSize,handles.text121];
if get(hObject,'Value')
set(liste1,'Visible','on');
set(liste2,'Visible','off');
They are not in the same uipanel...
  7 Comments
Frank Fournel
Frank Fournel on 8 Apr 2024
Why not. How do you fill in the gobjects? with a list for instance :
temp=gobject(2);
temp=[app.paneltest, app.checkboxtest];

Sign in to comment.

Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!