VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "文字移动"
   ClientHeight    =   2460
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5340
   Icon            =   "Form1.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   2460
   ScaleWidth      =   5340
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command5 
      Caption         =   "退出&E"
      Height          =   495
      Left            =   4440
      TabIndex        =   5
      Top             =   1800
      Width           =   735
   End
   Begin VB.CommandButton Command4 
      Caption         =   "向上移动"
      Height          =   495
      Left            =   3360
      TabIndex        =   4
      Top             =   1800
      Width           =   975
   End
   Begin VB.CommandButton Command3 
      Caption         =   "向下移动"
      Height          =   495
      Left            =   2280
      TabIndex        =   3
      Top             =   1800
      Width           =   975
   End
   Begin VB.CommandButton Command2 
      Caption         =   "向右移动"
      Height          =   495
      Left            =   1200
      TabIndex        =   2
      Top             =   1800
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "向左移动"
      Height          =   495
      Left            =   120
      TabIndex        =   1
      Top             =   1800
      Width           =   975
   End
   Begin VB.Label Label1 
      BackColor       =   &H0000FFFF&
      Caption         =   "文字移动"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   2040
      TabIndex        =   0
      Top             =   720
      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 Command1_Click()
  Label1.Left = Label1.Left - 50  '使标签Label1与窗体的左边界间距减少10
End Sub
Private Sub Command2_Click()
  Label1.Left = Label1.Left + 50  '使标签Label1与窗体的左边界间距增加10
End Sub
Private Sub Command3_Click()
  Label1.Top = Label1.Top + 50 '使标签Label1与窗体的顶边界间距减少10
End Sub
Private Sub Command4_Click()
  Label1.Top = Label1.Top - 50 '使标签Label1与窗体的顶边界间距减少10
End Sub
Private Sub Command5_Click()
  End
End Sub


