⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 vb电子书籍
💻 FRM
字号:
   VERSION 5.00
   Begin VB.Form Form1
      BackColor       =   &H00E0E0E0&
      Caption         =   "框架示例"
      ClientHeight    =   2430
      ClientLeft      =   60
      ClientTop       =   345
      ClientWidth     =   5010
      FillColor       =   &H00C0C0C0&
      BeginProperty Font
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Icon            =   "Form1.frx":0000
      LinkTopic       =   "Form1"
      MaxButton       =   0   'False
      ScaleHeight     =   2430
      ScaleWidth      =   5010
      StartUpPosition =   2  '屏幕中心
      Begin VB.Frame Frame2
         BackColor       =   &H00E0E0E0&
         Caption         =   "大小"
         Height          =   1215
         Left            =   2040
         TabIndex        =   7
         Top             =   960
         Width           =   1455
         Begin VB.OptionButton Option4
            BackColor       =   &H00E0E0E0&
            Caption         =   "Option4"
            Height          =   240
            Left            =   240
            TabIndex        =   9
            Top             =   840
            Width           =   255
         End
         Begin VB.OptionButton Option3
            BackColor       =   &H00E0E0E0&
            Caption         =   "Option3"
            Height          =   240
            Left            =   240
            TabIndex        =   8
            Top             =   360
            Width           =   255
         End
         Begin VB.Label Label2
            BackColor       =   &H00E0E0E0&
            Caption         =   "8 号  12号"
            Height          =   735
            Left            =   600
            TabIndex        =   10
            Top             =   360
            Width           =   495
         End
      End
      Begin VB.Frame Frame1
         BackColor       =   &H00E0E0E0&
         Caption         =   "字体"
         Height          =   1215
         Left            =   240
         TabIndex        =   3
         Top             =   960
         Width           =   1575
         Begin VB.OptionButton Option1
            BackColor       =   &H00E0E0E0&
            Caption         =   "Option1"
            Height          =   240
            Left            =   360
            TabIndex        =   5
            Top             =   360
            Width           =   255
         End
         Begin VB.OptionButton Option2
            BackColor       =   &H00E0E0E0&
            Caption         =   "Option2"
            Height          =   255
            Left            =   360
            TabIndex        =   4
            Top             =   840
            Width           =   255
         End
         Begin VB.Label Label1
            BackStyle       =   0  'Transparent
            Caption         =   "宋体    黑体"
            Height          =   855
            Left            =   840
            TabIndex        =   6
            Top             =   360
            Width           =   495
         End
      End
      Begin VB.CommandButton Command2
         Caption         =   "结束"
         Height          =   375
         Left            =   3840
         TabIndex        =   2
         Top             =   840
         Width           =   855
      End
      Begin VB.CommandButton Command1
         Caption         =   "确定"
         Height          =   375
         Left            =   3840
         TabIndex        =   1
         Top             =   240
         Width           =   855
      End
      Begin VB.TextBox Text1
         Height          =   375
         Left            =   240
         TabIndex        =   0
         Text            =   "VB程序设计"
         Top             =   240
         Width           =   2535
      End
   End
   Attribute VB_Name = "Form1"
   Attribute VB_GlobalNameSpace = False
   Attribute VB_Creatable = False
   Attribute VB_PredeclaredId = True
   Attribute VB_Exposed = False
'CODE Manger By BcodeXRose
'##################################################################
'## 过程名称:Command1_Click
'## 参数: 无
'##################################################################
Private Sub Command1_Click()
    Text1.Font.Name = IIf(Option1.Value, "宋体", "黑体")
    Text1.Font.Size = IIf(Option3.Value, 8, 12)
End Sub
    
'##################################################################
'## 过程名称:Command2_Click
'## 参数: 无
'##################################################################
Private Sub Command2_Click()
    End
End Sub

⌨️ 快捷键说明

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