>From: Arnaud Nicolet <[EMAIL PROTECTED]>
>
>Le 18 ao=FBt 06 =E0 04:26 Matin, Carlo Rubini a =E9crit:
>
> > Following the documentation, it is possible to drag items from a =20
> > listBox to the desktopFolder.
> >
> > What about dragging items from a listbox to a different folder?
>
>Different than what?
>
>If you drag the text of a cell of a listbox to a folder, it will =20
>appear as a clip file.
>If you drag the same text to a different folder, the clip file will =20
>appear in that different folder, simply.=

Yep, simple. Let me refrase it:

the cellTags of the rows contain references to files, and I want to copy (or 
move) the referenced files to a folder different than the desktopFolder.

At present the code in the dragRow event is:

  For i=0 to nRows
    If Me.Selected(i) then
      f = GetFolderItem(me.CellTag(i,0))
      if f <> nil and f.Exists then
        f.CopyFileTo DesktopFolder
      end if
    End if
  Next

but I would like to be able to copy the folderitems into the folder over which 
I'm doing the dragging.
If possible, how should the above code be changed?

Meanwhile, thanks for answering,

-- 
Carlo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to