1
Reply

how to signal WinForm control input out of range?

Bob Lewiston

Bob Lewiston

Mar 5 2009 3:07 PM
2.7k

Is there a way (perhaps via EventArgs) to signal the app when a user tries to enter out-of-range input into a WinForm control? (Specifically, a number in a NumericUpDown control numericUpDown1 that is larger than numericUpDown1.Maximum?) Yes, I know the control won't allow the input, but I want to display an error message if this happens.


Answers (1)