VERSION 5.00
Begin VB.Form FrmTextEdit 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "百变文字"
   ClientHeight    =   4770
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   4350
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   4770
   ScaleWidth      =   4350
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame FraZixing 
      Caption         =   "字形"
      Height          =   1095
      Left            =   360
      TabIndex        =   10
      Top             =   3600
      Width           =   1695
      Begin VB.CheckBox ChkItalic 
         Caption         =   "斜体"
         Height          =   255
         Left            =   240
         TabIndex        =   12
         Top             =   600
         Width           =   975
      End
      Begin VB.CheckBox ChkBold 
         Caption         =   "粗体"
         Height          =   255
         Left            =   240
         TabIndex        =   11
         Top             =   240
         Width           =   1095
      End
   End
   Begin VB.Frame FraZihao 
      Caption         =   "字号"
      Height          =   1575
      Left            =   2400
      TabIndex        =   6
      Top             =   1920
      Width           =   1575
      Begin VB.OptionButton OptSize24 
         Caption         =   "24"
         Height          =   180
         Left            =   240
         TabIndex        =   9
         Top             =   1080
         Width           =   975
      End
      Begin VB.OptionButton OptSize12 
         Caption         =   "12"
         Height          =   180
         Left            =   240
         TabIndex        =   8
         Top             =   720
         Width           =   975
      End
      Begin VB.OptionButton OptSize9 
         Caption         =   "9"
         Height          =   255
         Left            =   240
         TabIndex        =   7
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.Frame FraZiti 
      Caption         =   "字体"
      Height          =   1575
      Left            =   360
      TabIndex        =   2
      Top             =   1920
      Width           =   1695
      Begin VB.OptionButton OptLishu 
         Caption         =   "隶书"
         Height          =   375
         Left            =   240
         TabIndex        =   5
         Top             =   960
         Width           =   975
      End
      Begin VB.OptionButton OptHeiti 
         Caption         =   "黑体"
         Height          =   375
         Left            =   240
         TabIndex        =   4
         Top             =   600
         Width           =   1335
      End
      Begin VB.OptionButton OptSongti 
         Caption         =   "宋体"
         Height          =   375
         Left            =   240
         TabIndex        =   3
         Top             =   240
         Width           =   1215
      End
   End
   Begin VB.CommandButton CmdExit 
      Caption         =   "退出"
      Height          =   375
      Left            =   2640
      TabIndex        =   1
      Top             =   3960
      Width           =   1215
   End
   Begin VB.TextBox TxtInput 
      Height          =   1575
      Left            =   240
      TabIndex        =   0
      Text            =   "我为奥运作贡献"
      Top             =   240
      Width           =   3855
   End
End
Attribute VB_Name = "FrmTextEdit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub ChkBold_Click()
   TxtInput.FontBold = ChkBold.Value    '复选框被选中时，设置文字为粗体；否则为普通字形
End Sub

Private Sub ChkItalic_Click()
  TxtInput.FontItalic = ChkItalic.Value   '复选框被选中时，设置文字为斜体；否则为普通字形
End Sub

Private Sub CmdExit_Click()
  End
End Sub

Private Sub OptHeiti_Click()
  TxtInput.FontName = "黑体"
End Sub

Private Sub OptLishu_Click()
  TxtInput.FontName = "隶书"
End Sub

Private Sub OptSize12_Click()
  TxtInput.FontSize = 12
End Sub

Private Sub OptSize24_Click()
  TxtInput.FontSize = 24
End Sub

Private Sub OptSize9_Click()
  TxtInput.FontSize = 9
End Sub

Private Sub OptSongti_Click()
  TxtInput.FontName = "宋体"      '文字字体为“宋体”
End Sub

