brose.frm

来自「Control ocx de una cam de la leche pedri」· FRM 代码 · 共 98 行

FRM
98
字号
VERSION 5.00
Begin VB.Form Form3 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Guardar en:"
   ClientHeight    =   2940
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   3810
   LinkTopic       =   "Form3"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2940
   ScaleWidth      =   3810
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command3 
      Caption         =   "Eliminar"
      Height          =   255
      Left            =   2640
      TabIndex        =   5
      Top             =   2640
      Width           =   1095
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Actualizar"
      Height          =   255
      Left            =   0
      TabIndex        =   4
      Top             =   2640
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Ok"
      Height          =   255
      Left            =   1440
      TabIndex        =   3
      Top             =   2640
      Width           =   975
   End
   Begin VB.TextBox Text1 
      Height          =   285
      Left            =   0
      TabIndex        =   2
      Top             =   2280
      Width           =   3735
   End
   Begin VB.DirListBox Dir1 
      Height          =   1890
      Left            =   0
      TabIndex        =   1
      Top             =   360
      Width           =   3735
   End
   Begin VB.DriveListBox Drive1 
      Height          =   315
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   3735
   End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form1.filepath = (Dir1.Path)
Form1.Show
Form1.Text4.Text = (Dir1.Path)
Unload Me
End Sub

Private Sub Command2_Click()
Dir1.Refresh
Drive1.Refresh
File1.Refresh
End Sub

Private Sub Command3_Click()
Kill (Dir1.Path) & "\" & (File1.FileName)
Dir1.Refresh
Drive1.Refresh
File1.Refresh
End Sub

Private Sub Dir1_Change()
Text1.Text = (Dir1.Path)
End Sub

Private Sub Drive1_Change()
On Error GoTo er
Dir1.Path = (Drive1.Drive)
Exit Sub
er:
Drive1.Drive = "C:\"
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?