J
John Sutor
I currently have an event handler setup to handle keypress events. the
handler only takes the same arguments as the keypress event (object sender,
System.Windows.Forms.KeyPressEventArgs e).
I need to somehow pass the control to the event to evaluate how many
characters have been types into the text box and limit them to a max of 4
characters if a decimal has been entered in the third spot or 3 charaters if
just numbers have been entered.
Any hints
handler only takes the same arguments as the keypress event (object sender,
System.Windows.Forms.KeyPressEventArgs e).
I need to somehow pass the control to the event to evaluate how many
characters have been types into the text box and limit them to a max of 4
characters if a decimal has been entered in the third spot or 3 charaters if
just numbers have been entered.
Any hints