formfileselect.frm

来自「cockpit.zip is a cockpit simulation prog」· FRM 代码 · 共 62 行

FRM
62
字号
VERSION 5.00
Begin VB.Form FormFileSelect 
   Caption         =   "Load File"
   ClientHeight    =   3975
   ClientLeft      =   60
   ClientTop       =   300
   ClientWidth     =   5865
   LinkTopic       =   "Form1"
   ScaleHeight     =   3975
   ScaleWidth      =   5865
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox TextFileName 
      Height          =   375
      Left            =   240
      TabIndex        =   3
      Text            =   "*.dat"
      Top             =   3000
      Width           =   2295
   End
   Begin VB.DriveListBox SelectDrive 
      Height          =   315
      Left            =   240
      TabIndex        =   2
      Top             =   240
      Width           =   2295
   End
   Begin VB.DirListBox SelectDir 
      Height          =   2340
      Left            =   240
      TabIndex        =   1
      Top             =   600
      Width           =   2295
   End
   Begin VB.FileListBox SelectFile 
      Height          =   3210
      Left            =   2640
      TabIndex        =   0
      Top             =   240
      Width           =   3015
   End
End
Attribute VB_Name = "FormFileSelect"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    SelectFile.Pattern = TextFileName.Text
End Sub

Private Sub SelectDir_Change()
    SelectFile.Path = SelectDir.List(SelectDir.ListIndex)
End Sub

Private Sub SelectDrive_Change()
    SelectDir.Path = SelectDrive.List(SelectDrive.ListIndex)
End Sub

Private Sub TextFileName_Change()
    SelectFile.Pattern = TextFileName.Text
End Sub

⌨️ 快捷键说明

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