Posts Tagged ‘mdi child’
MDI – Close All Forms
Posted by: admin in Uncategorized on February 11th, 2009
Private Sub CloseAll()
For Each f As Form In Me.MdiChildren
f.close()
Next
End Form
MDI – Check if MDI Child Form is exist or loaded
To check the MDI child form is loaded:
Private Function IsFormExist(FormName as string) As Boolean
For Each f As Form In Me.MdiChildren
If f.Name.ToLower = FormName Then Return True
Next
Return False
End Function