Hi,
I have two RadForms (a master and detail form). In the master form, I have one RadButton which display the detail form.
In the detail form, there are two textboxes.
The steps for the problem as following:
1. Open the Master form. When tab and focus on the button, the "ChangeUICues" event on that button will be fired.
2. Click that button to open the detail form.
3. In the detail form, press "Tab" to focus on the second textbox.
4. Open the detail form.
5. After the Master form display again, tab and focus on the button. This time the "ChangeUICues" event on that button wouldn't be fired.
However, if I skip step 3, there is no problem. Please advise.
I have two RadForms (a master and detail form). In the master form, I have one RadButton which display the detail form.
In the detail form, there are two textboxes.
The steps for the problem as following:
1. Open the Master form. When tab and focus on the button, the "ChangeUICues" event on that button will be fired.
2. Click that button to open the detail form.
3. In the detail form, press "Tab" to focus on the second textbox.
4. Open the detail form.
5. After the Master form display again, tab and focus on the button. This time the "ChangeUICues" event on that button wouldn't be fired.
However, if I skip step 3, there is no problem. Please advise.
Private Sub btnButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnButton
frmDetail = New frmDetail
frmDetail.MdiParent = Me.MdiParent
frmDetail.Top = 0
frmDetail.Left = 0
frmDetail.Show()
Me.Hide()
End Sub
Private Sub frmDetail_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles frmDetail.FormClosed
Me.Show()
End Sub