UIHANDLER OnKeyUp
Jump to navigation
Jump to search
Fires when releasing a key.
(self, key)
Arguments
- self
- Frame - The widget receiving input.
- key
- string - The key represented by a UTF-8 character or a control word such as "ESCAPE", "BACKSPACE", and "LSHIFT".
Details
- Usually follows OnKeyDown when set; however, blocked by the WoW client losing focus (alt-tab) or if the OnKeyDown handler calls Frame:SetPropagateKeyboardInput
- Requires keyboard input, which another Frame can block with Frame:SetPropagateKeyboardInput.
- EditBox also requires edit focus.
See also
- Creating key bindings - An alternative more suited to handling game actions.