home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form FrmSplit
- Caption = "Leifen's FileManager"
- ClientHeight = 5040
- ClientLeft = 2745
- ClientTop = 2220
- ClientWidth = 7095
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 5040
- ScaleWidth = 7095
- Begin VB.PictureBox RightPane
- Height = 4815
- Left = 3600
- ScaleHeight = 4755
- ScaleWidth = 3195
- TabIndex = 3
- Top = 120
- Width = 3255
- Begin VB.FileListBox File1
- Height = 3600
- Left = 120
- TabIndex = 6
- Top = 120
- Width = 3015
- End
- End
- Begin VB.PictureBox LeftPane
- Height = 4815
- Left = 120
- ScaleHeight = 4755
- ScaleWidth = 3315
- TabIndex = 2
- Top = 120
- Width = 3375
- Begin VB.DirListBox Dir1
- Height = 3690
- Left = 120
- TabIndex = 5
- Top = 480
- Width = 3135
- End
- Begin VB.DriveListBox Drive1
- Height = 315
- Left = 120
- TabIndex = 4
- Top = 0
- Width = 3135
- End
- End
- Begin VB.PictureBox DragLine
- Appearance = 0 'Flat
- BackColor = &H00404040&
- BorderStyle = 0 'None
- ForeColor = &H80000008&
- Height = 4815
- Left = 6960
- ScaleHeight = 4815
- ScaleWidth = 45
- TabIndex = 1
- Top = 120
- Visible = 0 'False
- Width = 40
- End
- Begin VB.PictureBox InvisLine
- Appearance = 0 'Flat
- BorderStyle = 0 'None
- FillColor = &H8000000F&
- ForeColor = &H80000008&
- Height = 4815
- Left = 3480
- MouseIcon = "FrmSplit.frx":0000
- MousePointer = 99 'Custom
- ScaleHeight = 4815
- ScaleWidth = 135
- TabIndex = 0
- Top = 120
- Width = 135
- End
- Attribute VB_Name = "FrmSplit"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Dir1_Change()
- 'File1.Pattern = Dir1.Path
- 'Dir1.Path = File1.Path
- File1.Path = Dir1.Path
- End Sub
- Private Sub Drive1_Change()
- Dir1.Path = Drive1.Drive
- End Sub
- Private Sub Form_Load()
- DragLine.ZOrder
- End Sub
- Private Sub Form_Resize()
- If Not Me.WindowState = 1 Then
- LeftPane.Height = Me.Height - 600
- LeftPane.Height = Me.Height - 600
- RightPane.Height = LeftPane.Height
- If Not RightPane.Width >= (Me.Width - (InvisLine.Left + 115)) - 120 Then
- RightPane.Width = (Me.Width - (InvisLine.Left + 115)) - 120
-
- Drive1.Left = 50
- Drive1.Top = 50
- Drive1.Width = LeftPane.Width - 150
- Dir1.Left = Drive1.Left
- Dir1.Top = (Drive1.Top + Drive1.Height + 50)
- Dir1.Width = Drive1.Width
- Dir1.Height = LeftPane.Height - (Drive1.Top + Drive1.Height + 140)
- File1.Left = Drive1.Left
- File1.Top = Drive1.Top
- File1.Width = RightPane.Width - 150
- File1.Height = RightPane.Height
-
-
-
-
- End If
- End If
- End Sub
- Private Sub InvisLine_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- DragLine.Left = LeftPane.Left + 20
- DragLine.Top = LeftPane.Top
- DragLine.Visible = True
- End Sub
- Private Sub InvisLine_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 1 And InvisLine.Visible = True Then
- DragLine.Move X + CSng(InvisLine.Left + 45), LeftPane.Top, 40, LeftPane.Height
- End If
- End Sub
- Private Sub InvisLine_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If InvisLine.Left > Me.Width - 1000 Then
- InvisLine.Left = Me.Width - 1000
- End If
- InvisLine.Left = DragLine.Left
- LeftPane.Left = 0
- LeftPane.Width = InvisLine.Left - (InvisLine.Width / 2)
- InvisLine.Left = LeftPane.Width + 15
- RightPane.Width = (Me.Width - (InvisLine.Left + 115)) - 120
- RightPane.Left = InvisLine.Left + 115
- DragLine.Visible = False
- DragLine.Left = 0
- Drive1.Left = 50
- Drive1.Top = 50
- Drive1.Width = LeftPane.Width - 150
- Dir1.Left = Drive1.Left
- Dir1.Top = (Drive1.Top + Drive1.Height + 50)
- Dir1.Width = Drive1.Width
- Dir1.Height = LeftPane.Height - (Drive1.Top + Drive1.Height + 140)
- File1.Left = Drive1.Left
- File1.Top = Drive1.Top
- File1.Width = RightPane.Width - 150
- File1.Height = RightPane.Height
- End Sub
-