D
Derrick
I have a 2 form application - the first form opens the second form, which
allows a user to create a file. The first form then needs to do something
based on how the form was closed.
how the code looks
Dim tf As New frmNewLeague
tf.ShowDialog()
If < tf closed using save button > Then
do stuff
else
do other stuff
End If
Is using a global variable the best way, or can you cature how a form is
closed?
Derruck
allows a user to create a file. The first form then needs to do something
based on how the form was closed.
how the code looks
Dim tf As New frmNewLeague
tf.ShowDialog()
If < tf closed using save button > Then
do stuff
else
do other stuff
End If
Is using a global variable the best way, or can you cature how a form is
closed?
Derruck