VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "新年快乐"
   ClientHeight    =   3705
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5010
   LinkTopic       =   "Form1"
   Picture         =   "sy01-03.frx":0000
   ScaleHeight     =   3705
   ScaleWidth      =   5010
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Height          =   495
      Left            =   3960
      Picture         =   "sy01-03.frx":1198
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   3120
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Height          =   495
      Left            =   120
      Picture         =   "sy01-03.frx":15DA
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   3120
      Width           =   855
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "新年快乐"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   36
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   3255
      Left            =   960
      TabIndex        =   1
      Top             =   120
      Width           =   735
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "新年快乐"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   36
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   3135
      Left            =   240
      TabIndex        =   0
      Top             =   120
      Width           =   735
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Label控件通过位置和颜色结合产生浮雕效果
Private Sub Form_Load()
  Label2.Top = Label1.Top + 50
  Label2.Left = Label1.Left + 50        ' Label和Label2错位
  Label2.ForeColor = QBColor(0)       ' Label2字为默认黑色
  Label1.ForeColor = QBColor(15)      ' Label1字为白色
End Sub                            ' 位置和颜色结合产生浮雕效果
' 控件移动可通过Move方法实现，见左移
Private Sub Command1_Click()
  Label1.Move Label1.Left - 50         ' 单击一次同时左移50twip单位
  Label2.Move Label2.Left - 50
End Sub
' 也可通过控件的位置属性改变移动，见右移
Private Sub Command2_Click()
  Label1.Left = Label1.Left + 50        ' 单击一次同时右移50twip单位
  Label2.Left = Label2.Left + 50
End Sub

