By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,805 Members | 1,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,805 IT Pros & Developers. It's quick & easy.

Benefits of MDI Form

P: 56
Can n e one tell me the benefits of using an MDI form???
In my project (vb6 n access) i have a main form from where the control goes to other forms depending upon what option the user selects. I thought of making MDI form the main form but i fail to understand the benefits of doing so. right now i have a regular form for it and it works fine. so is it advisable to switch over to MDI form or no???
Feb 2 '08 #1
Share this Question
Share on Google+
5 Replies


lotus18
100+
P: 866
Hi

This depends upon what application are you going to create. One benefit I think is that if you have many MDIChild forms and you want to close them all, you can simply close the MDIParent form : )

Rey Sean
Feb 3 '08 #2

P: 14
You can also make your own windows like frames that you can move.

The benefits of that is that you can have a better controll of them, choose a different style, make a window in a window in another window.... and have all code in the same visual module.

The bad things is that you can't duplicate the frames at runtime like you can with real MDI and it's hard to use property bags when making the windows.

You can read about property bags in this site that I have used.
http://vb6mnt.blogspot.com/

You can look at the active X controlls that I have made in my application at
http://dawoodoz.com/fysik4_english.html
just download, unzip with the password "nosecret" and look at
DavidsWindowFrames.ocx
you can run the application and press edit to see how you can move and resize some of them.
Feb 3 '08 #3

dnb
P: 34
dnb
You can also make your own windows like frames that you can move.

The benefits of that is that you can have a better controll of them, choose a different style, make a window in a window in another window.... and have all code in the same visual module.

The bad things is that you can't duplicate the frames at runtime like you can with real MDI and it's hard to use property bags when making the windows.

You can read about property bags in this site that I have used.
http://vb6mnt.blogspot.com/

You can look at the active X controlls that I have made in my application at
http://dawoodoz.com/fysik4_english.html
just download, unzip with the password "nosecret" and look at
DavidsWindowFrames.ocx
you can run the application and press edit to see how you can move and resize some of them.


Hi
i have been download "fysik4_english.html"
but after download "fysik4_english.html" i run that but there is error display "3DSTATE8" please say me solution of this error.

Thanks in advance..................
Feb 6 '08 #4

debasisdas
Expert 5K+
P: 8,127
Hi
i have been download "fysik4_english.html"
but after download "fysik4_english.html" i run that but there is error display "3DSTATE8" please say me solution of this error.

Thanks in advance..................
It is always better to search for help in the site from where you have downloaded the files.
Feb 6 '08 #5

P: 14
Hi
i have been download "fysik4_english.html"
but after download "fysik4_english.html" i run that but there is error display "3DSTATE8" please say me solution of this error.

Thanks in advance..................
Have you unzipped the package and started the executable? If it's a message in the application, write an error report with the full message in my site's guestbook. Questions about using my active X controlls can also be sent to the guestbook.
Feb 8 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.