> 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 ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
