VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Drop"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtInfo 
      Alignment       =   2  'Center
      Enabled         =   0   'False
      Height          =   495
      Left            =   480
      MultiLine       =   -1  'True
      TabIndex        =   1
      Top             =   480
      Width           =   3255
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "Exit"
      Height          =   495
      Left            =   1920
      TabIndex        =   0
      Top             =   2280
      Width           =   1215
   End
   Begin VB.Image imfEdit 
      DragMode        =   1  'Automatic
      Height          =   840
      Left            =   720
      Picture         =   "Drop.frx":0000
      Stretch         =   -1  'True
      Top             =   1320
      Width           =   1080
   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()
End
End Sub

Private Sub cmdExit_Click()
End
End Sub

Private Sub cmdExit_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
Dim sinfo As String
sinfo = "перетаскиваем"
sinfo = sinfo + Source.Tag
sinfo = sinfo + "через кнопку выхода"
sinfo = sinfo + "параметр state="
sinfo = sinfo + Str(State)
txtInfo.Text = sinfo

End Sub

Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
txtInfo.Text = ""
Source.Move X, Y
End Sub

Private Sub Form_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
Dim sinfo As String
sinfo = "перетаскиваем"
sinfo = sinfo + Source.Tag
sinfo = sinfo + "через форму"
sinfo = sinfo + "параметр state="
sinfo = sinfo + Str(State)
txtInfo.Text = sinfo
End Sub

