UIHANDLER OnChar
Jump to navigation
Jump to search
Fires when typing characters.
(self, text)
Arguments
- self
- Frame - The widget receiving input.
- text
- string - The UTF-8 character.
Details
- Ignores control buttons such as BACKSPACE or ESCAPE.
- When pasting text, this script fires once for each character pasted (OnTextChanged will only fire once at the end)
- Requires keyboard input, which another Frame can block using Frame:SetPropagateKeyboardInput. Fires after OnKeyDown.
- EditBox also requires edit focus. Fires before OnTextChanged.