Hello
I have a MDI application with open so many chirldren windows. However, how can i get one of the chirldren window that currently NOT on the top if i need it?
Sooner Or Later, Everyone Does...
Printable View
Hello
I have a MDI application with open so many chirldren windows. However, how can i get one of the chirldren window that currently NOT on the top if i need it?
Sooner Or Later, Everyone Does...
you could do something like the following:
Dim frm As Form 'All forms currently loaded
Dim frmfound As Form 'Result
Dim strname As String 'Name of form you want
strname = "Frm_disttree"
For Each frm In Forms
If frm.Name = strname Then
Set frmfound = frm
End If
Next frm
'frmfound now points to desired form
MsgBox frmfound.Name 'Do what you want with it