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

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