Effacer les filtres
Effacer les filtres

WindowKeyPressFcn blocked when a uiprogressdlg is active - any workarounds?

2 vues (au cours des 30 derniers jours)
Will Grant
Will Grant le 9 Fév 2021
Modifié(e) : Will Grant le 9 Fév 2021
I have a WindowKeyPressFcn on a uifigure and I would like it to continue to respond to key presses when a uiprogressdlg is active.
It appears that the uiprogressdlg blocks events going to the figure.
But uiprogressdlg does not appear to have any ability to add any key/button handlers directly to it. Only the ability to add the 'cancelable' button, which does not actually fire a callback when pressed.
I already tried inspecting the hidden properties of the uiprogressdlg object via struct(), and I can find handles back to the parent figure, but nothing that appears to be a control or object for the uiprogressdlg where I could add event handlers.
Are there any workarounds to this?

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by