If KeyHit(KEY_BACKSPACE) Then DebugLog("backspace") ' If KeyHit(KEY_BACKSPACE) ' If Len(SaveGames._Name$[SaveGames.Active]) > 1 ' SaveGames._Name$[SaveGames.Active] = Mid$(SaveGames._Name$[SaveGames.Active], 1, Len(SaveGames._Name$[SaveGames.Active])-1) ' UpdatePlayerSlots() ' Return ' EndIf ' EndIf
If I have the first IF statement uncommented, and I press backspace, each time I press it the debuglog is printed to once.
If I have the second IF statement uncommented, and I press backspace, the code in the second IF is triggered CONTINUOUSLY, at a slowish pace as if I'm pressing it every half second or so.
[edit]
Well, it turns out that's not quite true. A debug reveals the letters are not being deleted because of this code. I think it is my cursor blink code which is doing it somehow.
[/code]