How to disable selection highlight of a toggletool in gui?

1 次查看(过去 30 天)
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

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by