Does anyone know where I can find out how to create MDI forms and create new forms within them etc? Or is anyone able to give me a couple of steps???
Thanks very much:)
Printable View
Does anyone know where I can find out how to create MDI forms and create new forms within them etc? Or is anyone able to give me a couple of steps???
Thanks very much:)
If you want to create an MDI-based application, go to Project menu and select Add MDI Form. This will add an MDI form to your project. One project can only have one MDI form, not more than that.
Subsequently, set the MDIChild property of the forms to True for all those forms which you want to appear within the MDI form.
Also set the MDI form as the startup object of your project, or if you have a Sub Main in your project, make sure you load and display the MDI form before any other forms.
Note: You cannot display MDI child forms modally. If you require a form to be displayed modally, set its MDIChild property to False.
Note: When a modal form is being displayed, you cannot display an MDI Child form at the same time. So, remove any code in non-MDI Child forms that may try to show an MDI Child form from them.
Note: If one MDI Child form is maximized, all MDI Child forms will be maximized. This goes for restoring the form sizes too. If you don't want this, set the borderstyle of the MDI Child forms to 3-Fixed, and in design mode set their sizes as big as you need them.
There may be other points I have missed, which you will discover.
.