Tab key when executing the "WindowKeyPressFcn" of a figure...

2 ビュー (過去 30 日間)
Daniel Petrini
Daniel Petrini 2017 年 1 月 27 日
コメント済み: Daniel Petrini 2017 年 1 月 27 日
Is it possible to define your own tab-key behavior using WindowKeyPressFcn? It only works when the figure is created, then (Matlab?) takes Control, and switches the focus between all uicontrols
What I would to do: tab-key always puts a certain uicontrol in focus...
/Daniel Petrini

採用された回答

Jan
Jan 2017 年 1 月 27 日
This is not the usual behavior of the TAB key and will confuse users, which are accustomed to GUI interactions. Therefore I would definitely avoid this and use another key.
  1 件のコメント
Daniel Petrini
Daniel Petrini 2017 年 1 月 27 日
I do agree. But ex. if you want to display a auto-completion or any other behaviour other than shift the focus in the tab-order. Is it possible?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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