VB.NET: How to make MDI act like SDI
I just wonder, How to make an application MDI act like SDI application just like Microsoft Word.
Anyone know?
[114 byte] By [
aping] at [2007-12-16]
Don't make it MDI in the first place. Microsoft Word is not a .NET app, but to give the user the choice then you have to code both sets of functionality into your app. If the user selects MDI then you set your main form's IsMdiContainer property to True and you create child windows. If the user selects SDI then you keep opening new instances of the main form with the IsMdiContainer property set to False.