frm_sel_path.frm
来自「很好一套库存管理」· FRM 代码 · 共 156 行
FRM
156 行
VERSION 5.00
Object = "{899348F9-A53A-4D9E-9438-F97F0E81E2DB}#1.0#0"; "LVbuttons.ocx"
Begin VB.Form frm_sel_path
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "Select Path ..."
ClientHeight = 2820
ClientLeft = 45
ClientTop = 435
ClientWidth = 6015
ControlBox = 0 'False
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2820
ScaleWidth = 6015
StartUpPosition = 1 'CenterOwner
Begin VB.DirListBox Dir1
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2115
Left = 240
TabIndex = 1
Top = 600
Width = 2415
End
Begin VB.DriveListBox Drive1
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 240
TabIndex = 0
Top = 240
Width = 2415
End
Begin LVbuttons.LaVolpeButton LaVolpeButton1
Height = 375
Left = 4320
TabIndex = 3
Top = 2280
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BTYPE = 3
TX = "&Ok"
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
BCOL = 14215660
FCOL = 0
FCOLO = 0
EMBOSSM = 12632256
EMBOSSS = 16777215
MPTR = 0
MICON = "frm_sel_path.frx":0000
ALIGN = 1
IMGLST = "(None)"
IMGICON = "(None)"
ICONAlign = 0
ORIENT = 0
STYLE = 0
IconSize = 2
SHOWF = -1 'True
BSTYLE = 0
End
Begin VB.Label Label1
BackColor = &H00FFFFFF&
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 1095
Index = 1
Left = 2880
TabIndex = 4
Top = 720
Width = 2895
End
Begin VB.Label Label1
BackColor = &H00FFFFFF&
Caption = "Current Selected Path ..."
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 2880
TabIndex = 2
Top = 360
Width = 2895
End
End
Attribute VB_Name = "frm_sel_path"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Dir1_Change()
Label1(1).Caption = Dir1.Path
End Sub
Private Sub Drive1_Change()
On Error GoTo A1:
Dir1.Path = Drive1.Drive
Exit Sub
A1:
MsgBox "Drive Can not be Accessed ...", vbInformation, "Drive not Accessed ..."
Drive1.Drive = "c:"
End Sub
Private Sub Form_Load()
Drive1.Drive = "c:"
Label1(1).Caption = Dir1.Path
End Sub
Private Sub LaVolpeButton1_Click()
FRM_BACK_UP.Text2.Text = Label1(1).Caption
Unload Me
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?