Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
フォームのタブ キーを無効にして、押したときに次のボタンに移動するにはどうすればよいですか。
これは、qwerty ハードウェア キーボードのハードウェア Tab キーです。
を実装しprotected boolean onKeyDown(int keyCode, KeyEvent event) {}、 をチェックしてkeyCode、キーがタブの場合は、イベントを消費する必要があります。
protected boolean onKeyDown(int keyCode, KeyEvent event) {}
keyCode
お役に立てれば!