|
-
July 19th, 2001, 08:06 PM
#1
Get one of the chirldren window
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...
-
July 19th, 2001, 11:26 PM
#2
Re: Get one of the chirldren window
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|