📄 frmdir.frm
字号:
VERSION 5.00
Begin VB.Form FrmDir
BorderStyle = 3 'Fixed Dialog
Caption = "选择文件夹"
ClientHeight = 3300
ClientLeft = 6540
ClientTop = 5115
ClientWidth = 2385
Icon = "FrmDir.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3300
ScaleWidth = 2385
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 1350
TabIndex = 3
Top = 2880
Width = 855
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 375
Left = 150
TabIndex = 2
Top = 2880
Width = 855
End
Begin VB.DriveListBox Drive1
Height = 300
Left = 30
TabIndex = 1
Top = 60
Width = 2295
End
Begin VB.DirListBox Dir1
Height = 2400
IMEMode = 1 'ON
Left = 30
TabIndex = 0
Top = 360
Width = 2295
End
End
Attribute VB_Name = "FrmDir"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
SavePath = Dir1.Path
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -