VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00008000&
   Caption         =   "Анимация"
   ClientHeight    =   2100
   ClientLeft      =   4200
   ClientTop       =   2724
   ClientWidth     =   3876
   LinkTopic       =   "Form1"
   ScaleHeight     =   2100
   ScaleWidth      =   3876
   Begin VB.CommandButton cmdStart 
      Caption         =   "Пуск"
      Height          =   375
      Left            =   1440
      TabIndex        =   1
      Top             =   1440
      Width           =   1095
   End
   Begin VB.PictureBox picAnim 
      BackColor       =   &H00FFFFFF&
      FillStyle       =   0  'Solid
      Height          =   972
      Left            =   480
      ScaleHeight     =   924
      ScaleWidth      =   2844
      TabIndex        =   0
      Top             =   240
      Width           =   2895
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim intX As Integer, lngI As Long
Private Sub cmdStart_Click()
'Масштаб
picAnim.Scale (-10, 10)-(10, -10)
'Анимация
For intX = -10 To 10
'Рисование
picAnim.FillColor = vbBlue
picAnim.Circle (intX, 0), 1, vbBlue
'Задержка стирания
For lngI = 1 To 10000000
Next lngI
'Стирание
picAnim.FillColor = vbWhite
picAnim.Circle (intX, 0), 1, vbWhite
Next intX
End Sub
