|
-
Mar 4th, 2002, 02:36 AM
#1
Thread Starter
Junior Member
error (urgent!!)
i have a filebox that only shows image files and i have 10 image control.
This should happen:
I select a few files i drag the filebox and I drop it on the image controls and the images(selected files in the filebox) are shown in the imagecontrols
this is my code I use to place the image files in the image-controls by drag & drop
Private Sub Image2_DragDrop(Index As Integer, Source As Control, X As Single, Y As Single)
Set Image2.picture = Nothing
i = 0
For i = 1 To File1.ListCount - 1
If Source.Selected = True And i < Image2.Count Then
bestand = Dir1.Path & "\" & File1.FileName
Image2.picture = LoadPicture("bestand") 'laden van het bestand in imagecontrol
i = i + 1
End If
Next i
End Sub[FONT=courier new][FONT=courier new]
but i get stil an error 'method or data member not found' and the problem should be on image2.picture or is it something else or have i forgotten something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|