Posts Tagged ‘mdi child’

MDI – Close All Forms

Private Sub CloseAll()

For Each f As Form In Me.MdiChildren
f.close()
Next
End Form

, , ,

No Comments


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

, , ,

No Comments



SetPageWidth