[Gambas-user] Fwd: FileView_MouseDrag doesn't work
Hasan Yetik
hyetik89 at ...626...
Fri Feb 4 11:53:58 CET 2011
Thanks for information, I am using gambas 2.21. I willl try it with Gambas
3.
2011/2/4 Benoît Minisini <gambas at ...1...>
> > 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
---------------------------------------------------------------
Hasan Yetik
Lisans Öğrencisi - Undergraduate Student
Elektrik Elektronik Mühendisliği - Department of Electrical and Electronics
Engineering
TOBB Ekonomi ve Teknoloji Üniversitesi - TOBB University of Economics and
Technology
Tel: (+90) 3122483049 (+90) 5072733445
E-mail: hasanyetik at ...370...
st07120276 at ...2545...
Web: http://hyetik.wordpress.com
---------------------------------------------------------------
More information about the User
mailing list