Effacer les filtres
Effacer les filtres

How to disable selection highlight of a toggletool in gui?

1 vue (au cours des 30 derniers jours)
hana
hana le 9 Juil 2012
How can I prevent a toggletool in my gui's menu from showing it's selection highlight, regardless of it's status? I've already tried turning SelectionHighligt property of the tool off in the opening function and also in it's callback function. thanks

Réponses (1)

Jan
Jan le 9 Juil 2012
Without changing its color, the user will not recognize a state change. Then a pushtool seems to be more user-friendly.
  1 commentaire
hana
hana le 9 Juil 2012
I know, but I am changing the icon as the state of the tool changes and don't need the selection highlight .. & the reason I wand to get rid of it, is that it's not undoing itself when the gui is generated without closing the last session!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by