I'm trying to use the NumericUpDown but have encountered a frustrating issue regarding tabbing. By default when I tab through the screen my NumericUpDown controls get focus twice: first on the control as a whole, then on the internal textbox. I'd like to ignore the focus on the overall control and just go straight into the textbox, so I figured I could handle that in the GotFocus event. Unfortunately, the internal textBox control in a Non-Public member, and when I try to access it via reflection I receive a FieldAccessException. So I currently have no way to force focus into the internal textbox.
Am I missing something obvious? If not, are there thoughts about allowing users to set the control to tab straight into the textbox area? Or, at the very least is there a way to access the textbox from my code so that I can force it manually (by setting IsTabStop to False for the NumericUpDown but IsTabStop to True for the internal textBox)?
Am I missing something obvious? If not, are there thoughts about allowing users to set the control to tab straight into the textbox area? Or, at the very least is there a way to access the textbox from my code so that I can force it manually (by setting IsTabStop to False for the NumericUpDown but IsTabStop to True for the internal textBox)?