2个回答
展开全部
Private Sub Form_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim I As Long
On Error Resume Next
For I = 1 To Data.Files.Count
Print Data.Files(I)
Next
End Sub
窗体OLEdropMode=1
Dim I As Long
On Error Resume Next
For I = 1 To Data.Files.Count
Print Data.Files(I)
Next
End Sub
窗体OLEdropMode=1
展开全部
Private Sub Form_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim i As Long
For i = 1 To Data.Files.Count
Text1.Text = Text1.Text + Data.Files.Item(i) + Chr(13) + Chr(10)
Next
End Sub
Dim i As Long
For i = 1 To Data.Files.Count
Text1.Text = Text1.Text + Data.Files.Item(i) + Chr(13) + Chr(10)
Next
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询