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 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