1 / 4

SDI & MDI

SDI & MDI. SDI -> Single Document Interface MDI -> Multiple Document Interface MDI -> A Multiple Document Interface is one that allows to view multiple windows within a larger window. Eg : various Word document windows within a word application window.

buchanon
Download Presentation

SDI & MDI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SDI & MDI • SDI -> Single Document Interface • MDI -> Multiple Document Interface • MDI -> A Multiple Document Interface is one that allows to view multiple windows within a larger window. • Eg : various Word document windows within a word application window. • SDI -> A Single Document Interface is one where all windows appear independently of one another without the unification of a single parent window.

  2. Visual Basic IDE can be viewed in two ways : • With the Multiple Document Interface (MDI) • The Single Document Interface (SDI) • MDI view shows all the distinct windows of the Visual Basic IDE as member windows within one large IDE window. • In the SDI view, distinct windows of the Visual Basic IDE exist independently of each other.

  3. MDI • The main form or MDI Form is’nt duplicated, but it acts as a container for all the windows, and it is called the parent window. • The windows in which the individual documents are displayed are called Child windows. • An MDI application must have at least two Form, the parent Form and one or more child Forms. • The parent Form may not contain any controls. While the parent Form is open in design mode, the icons on the ToolBox are not displayed, but you can’t place any controls on the Form. The parent Form can, and usually has its own menu.

  4. To create an MDI Application follow these steps : • Start a new project and then choose Project -> Add MDI Form to add the parent Form • Set the Form’s caption to MDI window • Choose Project -> Add form to add a SDI Form • Make this Form as child of MDI form by setting the MDI child property of the SDI Form to true. Set the caption property to MDI child window.

More Related