This sample application demonstrates a Multiple Document Interface (MDI) notepad application. It also provides an introduction to menu creation.
The sample is comprised of a parent form, a child form, a modal dialog form, and two basic modules. You can use this sample application in conjunction with the SDINote sample application to understand the differences between interface styles. For more information, see "Creating a User Interface," in the Programmer's Guide.
File | Description |
Filopen.bas | Module containing common file handling code. |
Find.frm | Modal dialog form. |
Mdi.frm | The MDI parent form. |
Mdi.frx | Binary data file for the Mdi.frm file. |
Mdinote.bas | Module containing shared code. |
MDINote.vbp | The MDInote project file. |
Notepad.frm | The MDI child form. |
From the Visual Basic File menu, choose Open Project and select the Mdinote.vbp file, which is listed in the Samples directory. Press F5 or choose Start from the Run menu to run the application.