S
Samud
Hi,
I've got a question about something which actually works, but I'd like to
know why...
If you create a form in a subroutine and "show" it, once the subroutine
finishes, technically the new form should be out of scope. I guess in a
sence it is, because you can never "get ahold of it" again. However the
form is still there. Maybe my question should be, is the following code bad
style and could it lead to some undesirable effects?
Private Sub MySub()
Dim f as new SomeForm()
f.show()
End Sub
I've got a question about something which actually works, but I'd like to
know why...
If you create a form in a subroutine and "show" it, once the subroutine
finishes, technically the new form should be out of scope. I guess in a
sence it is, because you can never "get ahold of it" again. However the
form is still there. Maybe my question should be, is the following code bad
style and could it lead to some undesirable effects?
Private Sub MySub()
Dim f as new SomeForm()
f.show()
End Sub