form1.frm

来自「VB精彩百例」· FRM 代码 · 共 41 行

FRM
41
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3840
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3390
   LinkTopic       =   "Form1"
   ScaleHeight     =   3840
   ScaleWidth      =   3390
   StartUpPosition =   3  'Windows Default
   Begin VB.FileListBox File1 
      Height          =   2625
      Left            =   120
      TabIndex        =   0
      Top             =   960
      Width           =   3015
   End
   Begin VB.Label Label1 
      Caption         =   "Label1"
      Height          =   255
      Left            =   240
      TabIndex        =   1
      Top             =   480
      Width           =   2775
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub File1_Click()
MsgBox ("系统文件,请勿操作!")
End Sub

Private Sub Form_Load()
File1.Path = "C:\WINNT\system32"
Label1.Caption = File1.Path
End Sub

⌨️ 快捷键说明

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