'BusyAction' 'cancel' not working
Mostrar comentarios más antiguos
Hi,
I've been trying to prevent my GUI's users from clicking too quickly while a computation goes on in the background. I've set the BusyAction and Interruptible properties of a set of radio buttons and the uibuttongroup (and menu elements and push buttons) to 'cancel' and 'off' respectively, but the GUI still just queues the clicks. For the radiobutton group this is particularly bad because it lets users "check" and "uncheck" the radio buttons independently, causing weirdness once the queued callback(s) try to execute.
I've tried the demo that explains these 2 properties and it works fine, so why is it not working in my GUI? (it was created with GUIDE by the way) I've also seen other posts with alternate solutions, but I'd much prefer to get these properties working as they should. I'm just not seeing what the problem is.
Thanks!
3 comentarios
Jan
el 20 de Jul. de 2012
Please post a minimal example which demonstrates your problem. Currently we can not see, what you have done, and suggesting a solution would be bold guessing.
Marc Lalancette
el 23 de Jul. de 2012
Jan
el 23 de Jul. de 2012
I do not believe that a core function of Matlab is damaged until I see the code and anybody can reproduce the problem. As long as you "cannot see what the problem is", it is unlikely that you have been able to explain it exactly in your message. And without an exact explanation, the creation of an answer must be based on guessing.
I'm convinced that your program contains a bug or conceptual error.
Respuestas (2)
Marc Lalancette
el 23 de Jul. de 2012
Editada: Marc Lalancette
el 23 de Jul. de 2012
Marc Lalancette
el 23 de Jul. de 2012
Editada: Marc Lalancette
el 23 de Jul. de 2012
1 comentario
Marc Lalancette
el 23 de Jul. de 2012
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!