Unsuccessful attempt at changing textBox behavior