Azzera filtri
Azzera filtri

How to disable selection highlight of a toggletool in gui?

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Jan
Jan il 9 Lug 2012
Without changing its color, the user will not recognize a state change. Then a pushtool seems to be more user-friendly.
  1 Commento
hana
hana il 9 Lug 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!

Accedi per commentare.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by