frmtc.frm

来自「VB6.0应用例题」· FRM 代码 · 共 45 行

FRM
45
字号
VERSION 5.00
Begin VB.Form frmtc 
   ClientHeight    =   2250
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4050
   LinkTopic       =   "Form1"
   ScaleHeight     =   2250
   ScaleWidth      =   4050
   StartUpPosition =   3  '窗口缺省
   Begin VB.Label Lblsm 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   1215
      Left            =   480
      TabIndex        =   0
      Top             =   480
      Width           =   3255
   End
End
Attribute VB_Name = "frmtc"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_KeyPress(KeyAscii As Integer)
    If KeyAscii = &H1B Then   '按Esc键退出
       End
    End If
End Sub

Private Sub Form_Load()
    CenterOnSetupForm Me
    frmtc.Caption = "注意"
    Lblsm.Caption = "请按Esc键退出后,再继续完成操作题。"
End Sub

⌨️ 快捷键说明

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