Hello,
I have a menu that a user can click and open a window. However, if the user was to click this form many time, it will continue to open up more windows. I want to prevent this from happening. If the user clicks open, it should just open the window once, if the window is already open, then it should get focus for that window.
Visual basic 2005 .Net
I hope you understand, this is my code so far.
Thanks in advance,
steve
I have a menu that a user can click and open a window. However, if the user was to click this form many time, it will continue to open up more windows. I want to prevent this from happening. If the user clicks open, it should just open the window once, if the window is already open, then it should get focus for that window.
Visual basic 2005 .Net
I hope you understand, this is my code so far.
Code:
Dim rep10 As New NewCalls rep10.MdiParent = Me rep10.Show()
steve