View Single Post
Old Nov 7th, 2007, 10:18 AM   #1
Rythn
Newbie
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0 Rythn is on a distinguished road
Accesing Control Properties on Another Form

I'm trying to enable a button on the main form, once the child form is closing. I'm using a MDI here, and I noticed that if I do this by a button click on the child form it works. But it aint happening if i use the FormClosing or FormClosed events.

Please Help

Private Sub frmSuppliers_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
Dim frmMain As New frmMain
frmMain.tsbSuppliers.Enabled = True
End Sub
Rythn is offline   Reply With Quote