ForumsProgramming ForumScript Help

3 2994
maffegozer
offline
maffegozer
64 posts
Nomad

Hello,

This is actually not really a question about AS
But about Visual Basic Script
What is the code to hide a form app and show another form when you press a button.
I figured this much out:

Public Class Form3

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Hide()
Form4.ShowDialog()
End Sub
End Class

This code works partly.
(goes to the other form as it should)
But then the problem
When in form4. i got another button there. and it wont let me go to form3.
Because that is on hide.
What code do i need for that (other code) to hide.
Cause that is the problem...

Questions? Ask...

  • 3 Replies
plasmafish
offline
plasmafish
252 posts
Nomad
maffegozer
offline
maffegozer
64 posts
Nomad

That helped me!
Thanks problem fixed!

plasmafish
offline
plasmafish
252 posts
Nomad

No problem.

Showing 1-3 of 3