S
Steve
Hi All,
I'm having a problem displaying a form as a modal dialog
window, when I call the code below from one part of my
program (a right-click menu) it works fine, but when I
call it from within another Sub, the new form displays
but I can click back to the main form so the dialog
window no longer has the focus.
Here is the code I am using, does anyone know why this
would happen?
Dim fAbout As frmAbout = New frmAbout()
fAbout.ShowDialog()
fAbout.Dispose()
Thanks,
Steve
I'm having a problem displaying a form as a modal dialog
window, when I call the code below from one part of my
program (a right-click menu) it works fine, but when I
call it from within another Sub, the new form displays
but I can click back to the main form so the dialog
window no longer has the focus.
Here is the code I am using, does anyone know why this
would happen?
Dim fAbout As frmAbout = New frmAbout()
fAbout.ShowDialog()
fAbout.Dispose()
Thanks,
Steve