VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Font等属性例"
   ClientHeight    =   2190
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   2595
   LinkTopic       =   "Form1"
   ScaleHeight     =   2190
   ScaleWidth      =   2595
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "command2"
      BeginProperty Font 
         Name            =   "黑体"
         Size            =   20.25
         Charset         =   134
         Weight          =   700
         Underline       =   -1  'True
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   600
      TabIndex        =   1
      Top             =   1080
      Width           =   1335
   End
   Begin VB.CommandButton Command1 
      Caption         =   "command1"
      Height          =   615
      Left            =   600
      TabIndex        =   0
      Top             =   240
      Width           =   1335
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
 Command1.Caption = "显示1"
 Command1.FontName = "黑体"
 Command1.FontSize = 20
 Command1.FontBold = True
 Command1.FontItalic = True
 Command1.FontUnderline = True ' 带下划线
 Command1.Enabled = False  ' 呈暗淡色
 Command2.FontName = "隶书"
 Command2.Enabled = True
 Command2.Caption = "取消"
End Sub

