visible vs invisible form

le888

Registered User.
Local time
Today, 08:08
Joined
Dec 10, 2003
Messages
344
Hi everyone,

How can I reapeare my form when it is invisible ? I explain, I have a Main form and when I click on a button it open another form #1 then the Main form is invisible. when I close form #1, the Main form didn't reapeare. So, how can I reapeare the Main form?

Thanks,

Le
 
Rich said:
YourForm.Visible=True


where should I put? In the form #1 ? If so, the problem is, I have serveral Main form which can enter in the form #1. So, YourForm should be which main form name ?

Example : Main form #1 , #2 and # 3 can open form #1. So, if I open the form # 1 with the Main form #3, when I close the form #1, I want the Main form #3 appeare.

Thanks,

Le
 
Can you explain more on looping throught the form collection ? I don't quit understand. This sound good for me because I hide one form at the time.

Thanks,

Le
 
Sub FrmVis()
Dim frm As Form
For Each frm In Forms
frm.Visible = True
Next
End Sub
 

Users who are viewing this thread

Back
Top Bottom