|
-
March 6th, 2002, 09:01 AM
#1
how to close all forms when closing the application?
I have a main form on my application and I want to close all forms when I exit the main dialog.
How can I do that?
private Sub closeAllForms()
Dim i as Integer
for i = 0 to Forms.Count - 1
If Forms(i).Name <> "Wnd_Main" then
' close form(i)??
End If
next
End Sub
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
|