Multiple Document Interface


  • Windows is the basis of all interfaces
  • MDI applications handle multiple windows simultaneously
  • In this multiple forms can be grouped together under a common interface

Characteristics of MDI components
Features of the Parent form

  • Displayed as soon as the MDI application started
  • Acts as the container for other windows
  • Menus of the child form are displayed on the parent form
  • Can only be one MDI parent form
  • Multiple child forms can be open at a time
  • The child forms can not be moved out of the MDI frame area
  • Closing the MDI form automatically closes all open MDI child forms
  • The top most window is the Active window
  • The color of the title bar of an active window is the same as that of the MDI window
Example:
  • Visual Basic IDE (Integrated Development Environment) itself is an MDI frame Window
Single Document Interface:
  • With the SDI option, all of the IDE Windows are free to be moved anywhere on screen; as long as VB.Net is the current application, they will remain on top of any other applications
  • Here the multiple forms are not grouped together
Drawbacks of using SDI:
  • Can not handle multiple forms at the same time
  • Multiple copies of the application have to be opened to handle multiple forms at the same time


Programs << Previous

Next>>Creating MDI

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus




Footer1