How do I change the pointer property in a UI Figure generated in App Designer
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Scorp
am 26 Sep. 2016
Kommentiert: Adam Danz
am 25 Jun. 2020
In 2015a I changed the pointer property to 'watch' to indicate the program was away doing something and not frozen. For example: When reading a large binary file I set the pointer property first to 'watch', then read the file in, then changed the pointer back to 'arrow'.
if true
set(handles.figure1, 'pointer', 'watch')
fid= fopen(handles.fileName,'r','ieee-be');
handles.Data = fread(fid,'uint8');
set(handles.figure1, 'pointer', 'arrow')
end
If I tried a similar thing in App Designer (2016a) and tried to change the pointer property of the UI Figure
if true
changePointer = set(app.UIFigure,'Pointer','watch');
end
I got the following error: "Error using matlab.ui.Figure/set Functionality not supported with figures created with the uifigure function."
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 26 Sep. 2016
That facility does not appear to be available yet for uifigures .
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!