Lost Focus on Mdi Parent Button?
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, My Application cannot focus back to the mdi parent button when i close the mdi child form. [More Info] My Application have 4 flowLayoutpanel Each FLP have it own Button Center of my Application have a Backgroundworker to load my form. [Problem] Now the problem come out...when i close the backgroundworker form, i cant focus back to the FLP button.
Private Sub frmMSBin_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing If Not Me.MdiParent Is Nothing And Not Me.Modal Then CType(Me.MdiParent, frmMainMenu).btnBin.focus End If End Sub
Here is one of my form closing. Anyone pls help..