home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Child1
- BackColor = &H0080FFFF&
- Caption = "Child1"
- ClientHeight = 2340
- ClientLeft = 495
- ClientTop = 1890
- ClientWidth = 4815
- Height = 2865
- Left = 405
- LinkTopic = "Form2"
- MDIChild = -1 'True
- ScaleHeight = 2340
- ScaleWidth = 4815
- Top = 1455
- Width = 4995
- Begin vsInForm vsInForm1
- BarColor = &H00C0C0C0&
- BarColorInactive= &H00C0C0C0&
- BarHeight = 23
- ButtonsRight = 2 '2
- CapAlign = 1 'Left Center
- CapColor = &H00800000&
- CapColorInactive= &H00800000&
- Caption = " Child1"
- ConvInfo = CHILD1.FRX:0000
- CustomFrame = -1 'True
- FrameColorInactive= &H00000080&
- FrameWidth = 6
- Left = 3375
- PictLeft0 = CHILD1.FRX:000B
- PictRight0 = CHILD1.FRX:00FD
- PictRight1 = CHILD1.FRX:0243
- Top = 360
- End
- Begin Label Label1
- BackStyle = 0 'Transparent
- Caption = "Click on the custom maximize button to tile your MDI forms."
- Height = 945
- Left = 75
- TabIndex = 0
- Top = 105
- Width = 2385
- End
- Option Explicit
- Sub Form_Load ()
- VSInform1.CustomFrame = True
- End Sub
- Sub VSInForm1_ClickRButton (Button As Integer)
- If Button = 0 Then
- If Child3.WindowState <> 0 Then Child3.WindowState = 0
- Child3.Move MDIForm1.Width * .3, MDIForm1.Height * .4, MDIForm1.Width * .6, MDIForm1.Height * .4
- If Child2.WindowState <> 0 Then Child2.WindowState = 0
- Child2.Move MDIForm1.Width * .3, 0, MDIForm1.Width * .6, MDIForm1.Height * .4
- If Child1.WindowState <> 0 Then Child1.WindowState = 0
- Child1.Move 0, 0, MDIForm1.Width * .3, MDIForm1.Height * .8
- Else
- WindowState = 1
- End If
- End Sub
-