How to disable selection highlight of a toggletool in gui?

1 view (last 30 days)
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

Answers (1)

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

Sign in to comment.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!