LOGIN  .  SIGNUP   .  SUPPORT 
HOME / MESSAGE BOARDS / OFF-TOPIC DISCUSSIONS

Off-Topic Discussions

Signup   Message Boards Home   Newest Posts   My Favorite Boards   My Threads
Page 1 of 1
Signup or Login to Post
Visual Basic 2008
 
zico291  posted on Aug 14, 2010 6:05:46 AM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to zico291
ELITE
Ok this is the problem.

I have 2 forms when I have button that has the close code in it, it only closes the form that the button was on how do I make a close all function that will close both form 1 and form 2.

Thanks
zico291

 
iNTANGiBLE  posted on Aug 14, 2010 6:09:06 AM - Report post

Current rank: 2 Stars. Next Rank at 1000 Posts.
Send a message to iNTANGiBLE
ELITE
Me.Close
Form2.Close

Maybe something like that

 
zico291  posted on Aug 14, 2010 6:13:21 AM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to zico291
ELITE
me.close just closes one form and form2.close does nothing. any other ideas thanks for trying anyway
 
zico291  posted on Aug 14, 2010 6:15:28 AM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to zico291
ELITE
for some reason when I enterned form1.close() it close both forms odd so you were half-way there thanks
Page 1 of 1
  Post Reply
 
All times are (GMT -06:00) Central Time (US & Canada). Current time is 10:04:31 PM