Click to See Complete Forum and Search --> : Control Boxes Problem!!!
intel
Jan 28th, 2000, 01:44 AM
How can I make my control boxes end my entire program including the background I have, rather than just the one form? I Need it to take the blue fade background i have away. When i click on the cole x button it closes the program but not the blue background. Any idea's?
Aaron Young
Jan 28th, 2000, 01:54 AM
Place the code to unload any other Forms in this Forms QueryUnload or Unload Event, ie.
Private Sub Form_Unload()
'Unload Every other Form that is Currently Loaded
Dim oFRM As Form
For Each oFRM In Forms
If oFRM.Name <> Name Then
Unload oFRM
Set oFRM = Nothing
End If
Next
End Sub
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.