You are on page 1of 19

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name of the Faculty : NAND KISHORE SINGH
Designation : LECTURER
Branch : DCCP
Institute : SGMGPT, Abdullapurmet
Year/Semester : V
Subject : VISUAL BASIC-I
Subject Code : CCP-503
Topic : MDI Applications and
Graphics
Duration : 50 Minutes
Sub-Topic : Understand MDI
Teaching Aids : PPT, Animations and
Photographs
CCP-503.42 1
Objectives
On completion of this period , you would be able to
understand MDI applications

CCP-503.42 2
Recap

 Single document interface


 Examples

CCP-503.42 3
Multiple Document Interface

Meaning:

An interface that can work with multiple documents

Definition:

An interface that consists of a Main Parent Form


and one or more Child Forms with any of which
user can interact

CCP-503.42 4
Multiple Document Interface in VB

Features:
2) Consists of
 one Main Form and
 several Child Forms
3) All Child Forms remain within the borders of
Main Form

CCP-503.42 5
Multiple Document Interface in VB
Features:
3) Child Forms can be minimized or maximized
and can be viewed simultaneously.

4) Main Form can contain only Menus and buttons


that allow access to Child Forms.

CCP-503.42 6
Multiple Document Interface in VB

Features:
5) Child form contain all the VB controls like Text
Boxes, Labels, List and Combo boxes, pictures
etc.
6) User can interact with the child forms through its
controls.

CCP-503.42 7
Multiple Document Interface in VB

Features:

7) User can view all the child forms in maximized


form within the borders of parent and work with
them simultaneously in the sense he can view
contents of one form and interact with another
form.

CCP-503.42 8
Multiple Document Interface in VB

Features:

8) When a parent form is closed all the child


forms get closed allowing single entry and
exit which makes user interface simple
and clear.

CCP-503.42 9
Multiple Document
Interface

CCP-503.42 10
Fig 1.1
Multiple Document
Interface

Fig 1.2
CCP-503.42 11
Multiple Document Interface

Applications:
 Used when different operations require
different interfaces offered by separate form
 Used when application needs to create several
documents and the documents have to be
seen simultaneously

CCP-503.42 12
Multiple Document Interface
Applications:
 Used when an application has several forms
and operation on one form needs data from
another form
 Example – MS Word, MS Excel

CCP-503.42 13
MS Word

Fig 1.3 CCP-503.42 14


Single Document Interface Vs Multiple
Document Interface
Single Document Multiple Document
Interface (SDI) Interface (SDI)

Fig 1.4
CCP-503.42 15
Summary
 MDI is multiple documents in one application
 Contain only Menus and buttons that allow
access to Child Forms
 User can view all the child forms in maximized
form within the borders of parent and work with
them simultaneously

CCP-503.42 16
• ______

Quiz – Objective Type

1.
Multiple Document Interface
MDI stands for ________________________

2. Can MDI form consist of text boxes (T/F)

Ans: False

3. Can Child forms go outside the borders of

Parent form (T/F)

Ans: False
CCP-503.42 17
Quiz – Objective Type

4. Example of MDI
a) Note Pad
b) MS Word
c) Word Pad
d) All the above

CCP-503.42 18
Questions

1. What is MDI?
2. Explain the feature of MDI.
3. Explain the applications of MDI.

CCP-503.42 19

You might also like