VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00FFFF80&
   Caption         =   "Перемещение надписи"
   ClientHeight    =   2595
   ClientLeft      =   1065
   ClientTop       =   3345
   ClientWidth     =   3885
   FillColor       =   &H000000FF&
   LinkTopic       =   "Form1"
   ScaleHeight     =   3000
   ScaleMode       =   0  'User
   ScaleWidth      =   4000
   Begin VB.OptionButton opt4 
      BackColor       =   &H00C0FFFF&
      Caption         =   "Правый нижний"
      Height          =   375
      Left            =   2280
      TabIndex        =   4
      Top             =   1440
      Width           =   1095
   End
   Begin VB.OptionButton opt3 
      BackColor       =   &H00C0FFFF&
      Caption         =   "Левый нижний"
      Height          =   375
      Left            =   480
      TabIndex        =   3
      Top             =   1440
      Width           =   1095
   End
   Begin VB.OptionButton opt2 
      BackColor       =   &H00C0FFFF&
      Caption         =   "Правый верхний"
      Height          =   375
      Left            =   2280
      TabIndex        =   2
      Top             =   360
      Width           =   1095
   End
   Begin VB.OptionButton opt1 
      BackColor       =   &H00C0FFFF&
      Caption         =   "Левый верхний"
      Height          =   375
      Left            =   480
      TabIndex        =   1
      Top             =   360
      Width           =   1095
   End
   Begin VB.Label lbl1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      Caption         =   "Перемещение надписи"
      Height          =   375
      Left            =   840
      TabIndex        =   0
      Top             =   840
      Width           =   2055
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
frm1.Move (Screen.Width - frm1.Width) / 2, (Screen.Height - frm1.Height) / 2
End Sub
Private Sub opt2_Click()
lbl1.Left = frm1.Width - lbl1.Width
lbl1.Top = 0
End Sub
Private Sub opt4_Click()
lbl1.Left = frm1.Width - lbl1.Width
lbl1.Top = frm1.Height - lbl1.Height
End Sub
Private Sub opt3_Click()
lbl1.Left = 0
lbl1.Top = frm1.Height - lbl1.Height
End Sub
Private Sub opt1_Click()
lbl1.Top = 0
lbl1.Left = 0
End Sub
