Ok, I have some forms that are children of my primary form. The thing is, I want to display them as a dialog (modal) so that the primary form can't be edited until the currently active child form is closed.
Now, I want to keep the MDI forms as MDI forms but also be able to display them in modal mode.
Unfortunately it seems like VB.net errors when I try to .ShowDialog(me) instead of the regular .Show()
Code:VB Code:
Dim frmGen As New frm_Generator frmGen.MdiParent = Me frmGen.ShowDialog(Me)
Any ideas?
Luc L.




Reply With Quote