Private Sub Form_Load()
    Command1.DragMode = 1
    'Set Command1.DragIcon = IL.ListImages.Item(2).Picture
End Sub
Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
    Source.Move (X - Source.Width \ 2), (Y - Source.Height \ 2)
End Sub只要你在form1上面加一个command1控件,运行,你拖拉一下command1控件就可以看得见效果了