How to disable selection highlight of a toggletool in gui?

1 回表示 (過去 30 日間)
hana
hana 2012 年 7 月 9 日
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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by