VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Forms and closing them! Posted by BiggerGMan on 19 Dec 2004 at 5:28 AM
I know you can close a form by using the formshowdialog syntax but is there a way of opening FORM2 from FORM1 and then closing FORM2 without using the show dialog syntax?

Gary
Report
Re: Forms and closing them! Posted by chubbz on 19 Dec 2004 at 2:15 PM
to automatically do it put a timer (enabled) and
i+= 100
If i = 500 Then
Form2.ActiveForm.Close()
i = 0
End If

or jjust put a button on form2 saying exit
and
Form2.ActiveForm.Close()
Report
Re: Forms and closing them! Posted by BiggerGMan on 19 Dec 2004 at 3:01 PM
: to automatically do it put a timer (enabled) and
: i+= 100
: If i = 500 Then
: Form2.ActiveForm.Close()
: i = 0
: End If
:
: or jjust put a button on form2 saying exit
: and
: Form2.ActiveForm.Close()
:

Thanks very much!




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.