You would probably have to capture the key event and set it to what you want for the spinbox