When is key binding preferable for handling key-up / key-down (.ect) events?

When is key binding preferable for key-up / key-down (.ect) event operations?

+3
source share
1 answer

I think it depends entirely on your needs. Keybindings have some limitations that event handlers do not have. For example, when binding keys, you must have a key and a key modifier (if you do not use function keys or the keys of the numeric keypad). Also, if I remember correctly, you cannot only catch the keydown event with keybinding.

, , "", , - . Keybinding R + Alt.

, , , - R, , R (key-up), .

+4

Source: https://habr.com/ru/post/1735980/


All Articles