H
Houston Keach
I am dispalying a message box from my main form with the following
code:
DialogResult response = MessageBox.Show( "Delete Location ?",
"Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button2 );
If the user enters a "Y" or "N" from the keyboard, I am getting a
KeyUp event for the pressed key in the focused TextBox in my main
form. I do not, however, get a KeyPress event. This can't be right,
can it? I'm taking a variety of actions on the KeyUp event and I
can't figure a way to work around this bogus character.
--Houston
code:
DialogResult response = MessageBox.Show( "Delete Location ?",
"Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button2 );
If the user enters a "Y" or "N" from the keyboard, I am getting a
KeyUp event for the pressed key in the focused TextBox in my main
form. I do not, however, get a KeyPress event. This can't be right,
can it? I'm taking a variety of actions on the KeyUp event and I
can't figure a way to work around this bogus character.
--Houston