Forms and closing them! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Forms and closing them!

BiggerGManBiggerGMan Posts: 2Member
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

Comments

  • chubbzchubbz Posts: 2Member
    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()
  • BiggerGManBiggerGMan Posts: 2Member
    : 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!

Sign In or Register to comment.