C
Chuck Bowling
I have a UserControl that contains a TextBox. I can't figure out how to
capture and process the Enter key.
I'm using the event code below...
private void txt_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
if(e.KeyCode == Keys.Return)
{
Blink(Color.Green, 10, 100);
}
}
in my properties I've tried both true and false conditions in
txt.AcceptsReturn
capture and process the Enter key.
I'm using the event code below...
private void txt_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
if(e.KeyCode == Keys.Return)
{
Blink(Color.Green, 10, 100);
}
}
in my properties I've tried both true and false conditions in
txt.AcceptsReturn