📄 fj.frm
字号:
VERSION 5.00
Begin VB.Form fj
BorderStyle = 1 'Fixed Single
Caption = " "
ClientHeight = 5820
ClientLeft = 45
ClientTop = 330
ClientWidth = 6180
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 5820
ScaleWidth = 6180
StartUpPosition = 3 '窗口缺省
Begin VB.ComboBox Combo1
Height = 300
ItemData = "fj.frx":0000
Left = 1320
List = "fj.frx":0002
TabIndex = 11
Top = 4920
Width = 2895
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 4560
TabIndex = 10
Top = 4920
Width = 1095
End
Begin VB.TextBox Text1
Height = 375
Left = 1320
TabIndex = 9
Top = 4200
Width = 2895
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 375
Left = 4560
TabIndex = 3
Top = 4200
Width = 1095
End
Begin VB.FileListBox File1
Height = 3330
Left = 3120
TabIndex = 2
Top = 600
Width = 2775
End
Begin VB.DriveListBox Drive1
Height = 300
Left = 240
TabIndex = 1
Top = 600
Width = 2415
End
Begin VB.DirListBox Dir1
Height = 2400
Left = 240
TabIndex = 0
Top = 1440
Width = 2415
End
Begin VB.Label Label5
Caption = "文件类型"
Height = 375
Left = 240
TabIndex = 8
Top = 4920
Width = 975
End
Begin VB.Label Label4
Caption = "文件名"
Height = 255
Left = 240
TabIndex = 7
Top = 4200
Width = 1215
End
Begin VB.Label Label3
Caption = "文件夹列表"
Height = 255
Left = 240
TabIndex = 6
Top = 1080
Width = 2175
End
Begin VB.Label Label2
Caption = "文件列表"
Height = 255
Left = 3120
TabIndex = 5
Top = 240
Width = 1455
End
Begin VB.Label Label1
Caption = "驱动器列表"
Height = 255
Left = 240
TabIndex = 4
Top = 240
Width = 1575
End
End
Attribute VB_Name = "fj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim fullname As String
Private Sub Combo1_Click()
File1.Pattern = Combo1.Text
End Sub
Private Sub Command1_Click()
File1_Db1Click
send.Text1.Text = fj.Text1.Text
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Dir1_Change()
Text1.Text = Dir1.Path
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Text1.Text = Drive1.Drive
Dir1.Path = Drive1.Drive
End Sub
Private Sub File1_Click()
If Right$(Dir1.Path, 1) = "\" Then
sep = ""
Else
sep = "\"
End If
fullname = Dir1.Path + sep + File1.FileName
Text1.Text = fullname
End Sub
Private Sub File1_Db1Click()
'Dim fid
'fid = Shell(fullname, 0)
End Sub
Private Sub Form_Load()
Combo1.AddItem "*.exe"
Combo1.AddItem "*.mp3"
Combo1.AddItem "*.wav"
Combo1.AddItem "*.rar"
Combo1.AddItem "*.jpg"
Combo1.AddItem "*.bmp"
Combo1.AddItem "*.*"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -