[Gambas-user] Fwd: FileView_MouseDrag doesn't work
Benoît Minisini
gambas at ...1...
Fri Feb 4 11:14:56 CET 2011
> Hello all,
>
> I am trying use MouseDrag event of FileView. I implemented MouseDrag
> feature of ListBox and I can Drag & Drop items from GridView,Listview to a
> ListView. But when I want to drag an item of FileView, Gambas does
> nothing, just nothing.
>
> My code is below;
>
>
> PUBLIC SUB copying_list_Drop()
>
> copying_list.Add(Drag.Data)
>
> END
>
>
> PUBLIC SUB src_files_MouseDrag()
>
> src_files.Drag(src_files.Current)
>
> END
>
> where; copying_list is a ListBox, and src_files is a FileView.
>
> Any reply will be appreciated.
I normally fixed that in revision #3539 for Gambas 3, by using the new
Control.Proxy property. Now, if you use a FileView (or a DirView), you will
catch all native events, and so MouseDrag.
Regards,
--
Benoît Minisini
More information about the User
mailing list