Hot Door CORE Forum

Full Version: textField lastCharTyped oddity
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When a user enters a forward-delete into a text field, lastCharTyped under Windows returns a blank string, while on macOS it returns a "mystery" character whose length is 3 and the value of character 0 is -17. When a key is pressed that triggers a valueChangingCallback, should it always contain a value to evaluate?

For now I just let null strings pass in the callback since getting char 0 crashes Windows.