KeyDown question

Hi everyone
My question is How I do to validate the backspace character \b in the event KeyDown of a TextField. I want to allow this character in a textfield along with numbers task who I could do it but the issue is with the backspace character

I appreciate your help it’s for a personal application in my Xojo training

Sebastian

well,
check the ascii value, that is 8 for backspace

if asc(key) = 8 then
// the user pressed backspace
end if

Grazie Giulio it really works !!!
Buona Sera !!! :slight_smile: