[Gambas-user] multiple selection on gridview

Jorge Carrión shordi at ...626...
Mon Jan 27 09:53:21 CET 2014


Thank you Benoit. Keep doing the good work. Gambas Rules!

Regards.


2014-01-27 Benoît Minisini <gambas at ...1...>

> Le 24/01/2014 19:32, Jorge Carrión a écrit :
> > Hi
> >
> > If you set enable the Multiple property on a gridview, you can select
> > several rows with key control+Click. Ok, thats expected.
> >
> > But once you have selected several row by doing this, if you click on one
> > of selected item and try to make a Drag&Drop operation (like is usuall on
> > Nautilus and very other software) it's triggered the Click event,
> > unselecting all items, except that you have clicking, and you can't do
> the
> > Drag...
> >
> > The only thing you can do is start de Drag before release the mouse
> button
> > of the last selected item... but that is not the expected behaviour for
> the
> > user (and for me, of course) and not always it's posible doing that,
> > especially on very large lists where the user goes up and down searching
> > certain rows with his own eyes...
> >
> > Someone know how to imitate the behavior-like-nautilus on gridviews? I've
> > tried doing a delay on click event... on mousedown event....  storing
> > selected rowids in a Array, etc. etc., but I've no success...
> >
> > Thanks in advance
> >
> > Regards.
>
> That weird behaviour should have been fixed in revision #6106.
>
> Now, dnd is triggered only if you click inside the selection and move
> the mouse.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list