home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.MDIForm MDIScrollForm
- AutoShowChildren= 0 'False
- BackColor = &H8000000C&
- Caption = "Scrolling Form"
- ClientHeight = 4200
- ClientLeft = 165
- ClientTop = 735
- ClientWidth = 9090
- LinkTopic = "MDIForm1"
- StartUpPosition = 3 'Windows Default
- Begin VB.Menu FileMenu
- Caption = "File"
- Begin VB.Menu FileOpen
- Caption = "Open"
- End
- Begin VB.Menu FileNew
- Caption = "New"
- End
- Begin VB.Menu FileClose
- Caption = "Close"
- End
- Begin VB.Menu separator0
- Caption = "-"
- End
- Begin VB.Menu FileExit
- Caption = "Exit"
- End
- End
- Begin VB.Menu EditMenu
- Caption = "Edit"
- Begin VB.Menu EditUndo
- Caption = "Undo"
- End
- Begin VB.Menu Separator1
- Caption = "-"
- End
- Begin VB.Menu EditCopy
- Caption = "Copy"
- End
- Begin VB.Menu EditCut
- Caption = "Cut"
- End
- Begin VB.Menu EditPaste
- Caption = "Paste"
- End
- Begin VB.Menu EditSelect
- Caption = "Select All"
- End
- End
- Begin VB.Menu FormatMenu
- Caption = "Format"
- Begin VB.Menu FormatLeft
- Caption = "Align Left"
- End
- Begin VB.Menu FormatMiddle
- Caption = "Align Middle"
- End
- Begin VB.Menu FormatCenter
- Caption = "Align Right"
- End
- End
- Begin VB.Menu SpecialMenu
- Caption = "Special"
- Begin VB.Menu Special1
- Caption = "Option 1"
- End
- Begin VB.Menu Special2
- Caption = "Option 2"
- End
- Begin VB.Menu Special3
- Caption = "Option 3"
- End
- Begin VB.Menu separator2
- Caption = "-"
- End
- Begin VB.Menu Special4
- Caption = "Option 4"
- End
- Begin VB.Menu Special5
- Caption = "Option 5"
- End
- Begin VB.Menu Special6
- Caption = "Option 6"
- End
- End
- Begin VB.Menu HelpMenu
- Caption = "Help"
- Begin VB.Menu HelpTopics
- Caption = "Help Topics"
- End
- Begin VB.Menu HelpIndex
- Caption = "Index"
- End
- Begin VB.Menu separator3
- Caption = "-"
- End
- Begin VB.Menu HelpAbout
- Caption = "About"
- End
- End
- Attribute VB_Name = "MDIScrollForm"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- ' ******************************
- ' ******************************
- ' ** MASTERING VB6 **
- ' ** by Evangelos Petroutos **
- ' ** SYBEX, 1998 **
- ' ******************************
- ' ******************************
- Private Sub MDIForm_Initialize()
- MDIScrollForm.Show
- MDIScrollForm.Enabled = False
- ContainedForm1.Show
- ContainedForm2.Top = ContainedForm1.Top
- ContainedForm2.Left = ContainedForm1.Left + ContainedForm1.Width
- ContainedForm2.Show
- ContainedForm3.Top = ContainedForm2.Top
- ContainedForm3.Left = ContainedForm2.Left + ContainedForm2.Width
- ContainedForm3.Show
- MDIScrollForm.Height = ContainedForm1.Height + 70 * Screen.TwipsPerPixelY
- MDIScrollForm.Enabled = True
- End Sub
-