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

1 visualización (últimos 30 días)
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."

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Sept. de 2016
That facility does not appear to be available yet for uifigures .
  3 comentarios
Scorp
Scorp el 26 de Sept. de 2016
Thank you for your reply, at least I am not chasing something that isn't there!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dialog Boxes en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by