0

Ctrlユーザーが+をクリックしたときの変更された動作を実装するにはどうすればよいですかA(すべて選択)。イベントを変更しようとしkeyDown:ましたが、イベントをキャッチしていないようです。

4

1 に答える 1

3

⌘</kbd>+A is generally mapped to selectAll: on the first responder. You should be able to simply implement the selectAll: method on any responder in the chain and it'll "just work".

于 2012-04-18T20:58:50.700 に答える