MDI vs. SDI MDI – Multiple Document Interface SDI – Single Document Interface In an SDI application, each form acts independently of the others. A MDI.

Slides:



Advertisements
Similar presentations
Prof. Yitzchak Rosenthal
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Novar iScope This demonstration is designed to show the features of the iScope software and graphics package.
Excel Tutorial 6 Managing Multiple Worksheets and Workbooks
MFC Workshop: Intro to the Document/View Architecture.
Interfacing with the User Advanced Programming Using Visual Basic 6.0.
Chapter 6 Multiform Projects Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Extreme coding workshop Tick-tock….. Extreme coding A ‘just get it done’ mode –don’t know the language? learn it! The basics are the same –a loop is a.
Slide 1 Forms v Parts of a form v Form: Program User Interface v Controls are contained inside forms v Control event handlers are contained inside forms.
Multiple-Document-Interface (MDI) Windows MDI programs enable users to edit multiple documents at once. MDI programs enable users to edit multiple documents.
MDI windows Single-document-interface (SDI)
Visual Basic Project 1 IDS 306 Spring 1999 V. Murphy.
CVEV 118/698 Visual Basic Lecture 3 Prof. Mounir Mabsout Elsa Sulukdjian Walid El Asmar.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
MENUS AND THE MENU EDITOR Elements of a Menu Menu bar Menu title Separator bar Menu items.
Interactive Piano Teacher Design Review Ted, Abe, Michael, Chris, Tina, May.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Multiple Document Interface (MDI) application
1 Multiple Document Interface (MDI) Windows. Single Document Interface (SDI) A program that can only support one open window or a document For Example,
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab8 Working with Forms Forms Collection Multiple Forms.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
1 Graphical User Interfaces Part 2 Outline Multiple Document Interface (MDI) Windows Visual Inheritance User-Defined Controls.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
Dr Dat Tran - Week 4 Lecture Notes 1 MenuStrip Programming Graphical User Interfaces PG (7110) University of Canberra School of Information Sciences &
Lập trình trên Windows với Microsoft®.NET Giảng viên : Hồ Hoàn Kiếm.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
CST238 Week 4 Questions / Concerns? Announcements – Start thinking about project ideas – Test#1 next Monday, 4/28/14 Recap Check-off Take Home Lab#3 New.
Chapter 3 – Part 1 Word Processing Writer for Linux CMPF 112 : COMPUTING SKILLS.
Enhancing the Graphical User Interface Multiple Forms, Controls, and Menus.
1 OrderPro Point of Sale (POS) Training Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 13 – Graphical User Interfaces Part 2 Outline.
Graphical User Interface Concepts - Part 2 Session 09 Mata kuliah: M0874 – Programming II Tahun: 2010.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Relational Databases (MS Access)
VB.NET Additional Topics
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Multiform Projects.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Working with Multiple Workbooks Working with multiple workbooks, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin The ability to use.
Splash Screen. Lesson Menu Five-Minute Check (over Lesson 8–1) Main Idea and Vocabulary Example 1:Solve Two-Step Equations Example 2:Solve Two-Step Equations.
Copyright Ó Oracle Corporation, All rights reserved Working with Other Canvases.
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
Dr Dat Tran - Week 2 Lecture Notes 1 Forms Programming Graphical User Interfaces PG (7110) University of Canberra School of Information Sciences & Engineering.
PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface.
Win32 Controls & ActiveX Integration In this presentation… –Introduction to the new Win32 controls. What they are? How they are enabled? Potential uses.
Lesson 3 — Menus, MDIs, and Simple Loops Microsoft Visual Basic.NET, Introduction to Programming.
Splash Screen.
Showing the Developer Tab. Windows vs Mac This is one of the places where the Mac and Windows procedures are different. We’ll look at the Windows method.
Slide 1 Using Menu Bar & Common Dialog Boxes. Slide 2 Setting Up the Main Items v First open the form on which you want the menu located v Then start.
(c)2004 C. Krebs & K. Mulbery, CITE Dept., UVSC All rights reserved. Using Windows XP ISYS 105A.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Understanding Desktop Applications Lesson 5. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Windows Forms Applications Understand.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating Menus Menu Bar – behaves like standard Windows menus Can be used in place of or in addition to buttons to execute a procedure Menu items are controls.
Splash Screen. 1.A 2.B 3.C 4.D Five Minute Check 1 A.–9 B.–1 C. 1 D.9 Find 4 – 5. (over Lesson 2-5) Find –14 – 34. A.–48 B. –20 C. 20 D.48 Find –45 –
CECS 5020 Computers in Education Forms and Menus.
Compound Data Types Part13dbg. 2 Point A Point is a simple built-in struct that stores a pair of screen coordinates. Instantiate a Point: Point aPoint.
DateTime, Code Regions, and Multiple Form Applications Part13dbg.
Understanding Desktop Applications Lesson 5. Understanding Windows Forms Applications Windows Forms applications are smart client applications consisting.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
 The clipboard is a temporary storage area  The cut or copy commands place information on the CLIPBOARD  There are two types of clipboards: – System.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
Multiple forms - SDI & MDI Please use speaker notes for additional information!
Multiple document interface (MDI)
SDI & MDI SDI -> Single Document Interface
Standard Controls.
Horizontal Centering Using the menu bar
Multiple Document Interface (MDI)
Main Idea and New Vocabulary Example 1: Solve Two-Step Equations
Chapter 4 Enhancing the Graphical User Interface
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

MDI vs. SDI MDI – Multiple Document Interface SDI – Single Document Interface In an SDI application, each form acts independently of the others. A MDI project resembles applications such as Word and Excel which have a parent window and child windows. When you unload the parent form, all the child forms are unloaded. All the child forms display within the boundaries of the parent form.

MDI Projects A VB project can only have one MDI form which is the parent. You can make other forms into child forms by setting the MDIChild property to True. In an MDI project, you should make all nonparent forms into child forms, with the exception of the splash screen.

Creating an MDI Project 1.Add an MDI Form to the project by choosing Project/Add MDI Form.

Creating an MDI Project 2.Add other forms and set MDIChild Property to True. 3.Set up Menus. 4.Write code to load forms as needed. 5.Make Windows Menu.

Menus in MDI Project Key Idea: If the parent form has a menu, its menu displays only if no child form with a menu is displaying. If any child form has a menu, its menu replaces the parent form’s menu. (Just like in Excel and Word).

The Windows Menu You can create a Windows menu – so your project will behave like other Windows applications. Includes options for Cascade, Tile Horizontally, Tile Vertically and a list of the Windows. To include the list of Windows, check the Window List option for the Menu Name

The Forms Collection The Forms Collection consists of all the forms in a project that are loaded into memory. The collection may contain MDI forms, MDI child forms, and Regular Forms. You can refer to each form by using the index. Example: Forms(0), Forms(1), Forms(2) The Forms collection has a Count Property.