VERSION 5.00
Begin VB.Form Frmbbwz 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "百变文字"
   ClientHeight    =   4095
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   4125
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4095
   ScaleWidth      =   4125
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "退出"
      Height          =   375
      Left            =   2880
      TabIndex        =   19
      Top             =   3360
      Width           =   1095
   End
   Begin VB.Frame Frame5 
      Caption         =   "字形"
      Height          =   1095
      Left            =   1440
      TabIndex        =   6
      Top             =   2880
      Width           =   1215
      Begin VB.CheckBox ChkItalic 
         Caption         =   "斜体"
         Height          =   255
         Left            =   240
         TabIndex        =   18
         Top             =   720
         Width           =   735
      End
      Begin VB.CheckBox ChkBold 
         Caption         =   "粗体"
         Height          =   255
         Left            =   240
         TabIndex        =   17
         Top             =   360
         Width           =   735
      End
   End
   Begin VB.Frame Frame4 
      Caption         =   "字体"
      Height          =   1695
      Left            =   120
      TabIndex        =   5
      Top             =   1080
      Width           =   1215
      Begin VB.OptionButton Option4 
         Caption         =   "隶书"
         Height          =   375
         Left            =   240
         TabIndex        =   9
         Top             =   1200
         Width           =   855
      End
      Begin VB.OptionButton Option3 
         Caption         =   "黑体"
         Height          =   375
         Left            =   240
         TabIndex        =   8
         Top             =   780
         Width           =   855
      End
      Begin VB.OptionButton Option2 
         Caption         =   "宋体"
         Height          =   375
         Left            =   240
         TabIndex        =   7
         Top             =   360
         Width           =   855
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "颜色"
      Height          =   1695
      Left            =   2760
      TabIndex        =   3
      Top             =   1080
      Width           =   1215
      Begin VB.OptionButton Option9 
         Caption         =   "蓝色"
         Height          =   375
         Left            =   240
         TabIndex        =   14
         Top             =   1200
         Width           =   735
      End
      Begin VB.OptionButton Option8 
         Caption         =   "红色"
         Height          =   375
         Left            =   240
         TabIndex        =   13
         Top             =   780
         Width           =   735
      End
      Begin VB.OptionButton Option7 
         Caption         =   "黑色"
         Height          =   375
         Left            =   240
         TabIndex        =   12
         Top             =   360
         Width           =   735
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "效果"
      Height          =   1095
      Left            =   120
      TabIndex        =   2
      Top             =   2880
      Width           =   1215
      Begin VB.CheckBox ChkStrikethru 
         Caption         =   "删除线"
         Height          =   255
         Left            =   120
         TabIndex        =   16
         Top             =   720
         Width           =   855
      End
      Begin VB.CheckBox ChkUnderLine 
         Caption         =   "下划线"
         Height          =   180
         Left            =   120
         TabIndex        =   15
         Top             =   360
         Width           =   855
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "字号"
      Height          =   1695
      Left            =   1440
      TabIndex        =   1
      Top             =   1080
      Width           =   1215
      Begin VB.OptionButton Option6 
         Caption         =   "24"
         Height          =   255
         Left            =   240
         TabIndex        =   11
         Top             =   1200
         Width           =   495
      End
      Begin VB.OptionButton Option5 
         Caption         =   "12"
         Height          =   255
         Left            =   240
         TabIndex        =   10
         Top             =   780
         Width           =   495
      End
      Begin VB.OptionButton Option1 
         Caption         =   "9"
         Height          =   255
         Index           =   0
         Left            =   240
         TabIndex        =   4
         Top             =   360
         Width           =   495
      End
   End
   Begin VB.TextBox Text1 
      Alignment       =   2  'Center
      Height          =   735
      Left            =   120
      TabIndex        =   0
      Text            =   "我为奥运作贡献"
      Top             =   120
      Width           =   3855
   End
End
Attribute VB_Name = "Frmbbwz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Check1_Click()
  Text1.FontUnderline = True
End Sub

Private Sub Check2_Click()
  Text1.FontStrikethru = True
End Sub

Private Sub ChkBold_Click()
  Text1.FontBold = ChkBold.Value
End Sub

Private Sub ChkItalic_Click()
  Text1.FontItalic = ChkItalic.Value
End Sub

Private Sub ChkStrikethru_Click()
  Text1.FontStrikethru = ChkStrikethru.Value
End Sub

Private Sub ChkUnderLine_Click()
  Text1.FontUnderline = ChkUnderLine.Value
End Sub

Private Sub Command1_Click()
 Unload Me
End Sub

Private Sub Option1_Click(Index As Integer)
  Text1.FontSize = 9
End Sub

Private Sub Option2_Click()
  Text1.FontName = "宋体"
End Sub

Private Sub Option3_Click()
  Text1.FontName = "黑体"
End Sub

Private Sub Option4_Click()
   Text1.FontName = "隶书"
End Sub

Private Sub Option5_Click()
  Text1.FontSize = 12
End Sub

Private Sub Option6_Click()
  Text1.FontSize = 24
End Sub

Private Sub Option7_Click()
  Text1.ForeColor = RGB(0, 0, 0)
End Sub

Private Sub Option8_Click()
  Text1.ForeColor = RGB(255, 0, 0)
End Sub

Private Sub Option9_Click()
  Text1.ForeColor = RGB(0, 0, 255)
End Sub
Private Sub Form_Unload(Cancel As Integer)
   Unload Me
   Frmsys.Show
End Sub
