How do I change the pointer property in a UI Figure generated in App Designer

1 次查看(过去 30 天)
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."

采纳的回答

Walter Roberson
Walter Roberson 2016-9-26
That facility does not appear to be available yet for uifigures .
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by