Hello,
Try this code.
Dim Ctl
For Each Ctl In Forms
MsgBox Ctl.Name
Next
You can get all the forms which are currently loaded (in memory). (whether
they are active or inactive).
Gaurav Shah
(Sr. Software Engineer)
Gates Information Systems Pvt. Ltd.
----- Original Message -----
From: "svdkooij" <svdkooij@c...>
To: "professional vb" <pro_vb@p...>
Sent: Friday, July 20,2001 9:20:AM
Subject: [pro_vb] Is a MDIChild form visible yes/on ?
> Dear Guruus
>
> Im my project i have a couple of MdiChild forms.
> In one of the childforms I need 2 check if a sertain other form
> (frmChild1) is visible.
>
> ' Piece of the Code:
> If frmChild1.Visible = True Then
> ' Do Something
> End If
>
> But when vb6 executes this part, frmChild1 becomes visible anyway. That is
> not what I want. Is there a way to do this.
>
> Regards.
> Sander
>
>