G
Guest
I have a message box that pops up when there is a problem after a user
clicks on a button.
After the user clicks OK on the message box, I need the focus to return to a
different control (a textbox). Intuitively, you would think the line
MyTextbox.Focus after the MessageBox.Show line would do the the trick.
Howerver, focus always returns to the control that initiated the show method.
Any focus method after that is ignored.
Can anyone tell me how to overide this behaviour?
clicks on a button.
After the user clicks OK on the message box, I need the focus to return to a
different control (a textbox). Intuitively, you would think the line
MyTextbox.Focus after the MessageBox.Show line would do the the trick.
Howerver, focus always returns to the control that initiated the show method.
Any focus method after that is ignored.
Can anyone tell me how to overide this behaviour?