Hi,
I display RadMessageBox in a textbox's validating. After I press OK button in the messagebox, the cursor is focus in the current control instead of next control.
However, if I use Visual Studio's messagebox, the cursor will stay in the next control after I press OK button.
So, how can I solve it?
p.s. The step to produce this problem as following:
1. Click on TextBox1 in form
2. Tab away from TextBox1
3. Message prompt out.
4. Use mouse to click [OK] button in message box.
5. After the message box disappear, the cursor stay in textbox1 (it should stay in textbox2).
I display RadMessageBox in a textbox's validating. After I press OK button in the messagebox, the cursor is focus in the current control instead of next control.
However, if I use Visual Studio's messagebox, the cursor will stay in the next control after I press OK button.
So, how can I solve it?
p.s. The step to produce this problem as following:
1. Click on TextBox1 in form
2. Tab away from TextBox1
3. Message prompt out.
4. Use mouse to click [OK] button in message box.
5. After the message box disappear, the cursor stay in textbox1 (it should stay in textbox2).
Imports
Telerik.WinControls
Public
Class
Form1
Private
Sub
TextBox1_Validating(
ByVal
sender
As
Object
,
ByVal
e
As
System.ComponentModel.CancelEventArgs)
Handles
TextBox1.Validating
RadMessageBox.Show(
"Testing"
,
Me
.Text, MessageBoxButtons.OK, RadMessageIcon.Info)
End
Sub
End
Class