[Gambas-user] Strange drag&drop

PxPert PxPert at ...626...
Fri Nov 2 22:34:13 CET 2007


Argh, I don't like this, but I think this is the only possible solution until 
the (simply, i think) problem will be solved. Anyway I've reimplemented the 
gridview with a new control just to fix problems like this, so there's no 
problem!

Another question: If you've read a part of my program code you'll notice the 
system to control the remote mpd is in a separate control. When I'll add all 
the functions supported by mpd and made it stable I'll make it a totally 
external control... Is there a way to include it in the official gambas 1.9x 
trunk? :D

P.S. Congratulations for the IDE, gambas is a really powerful language and I 
hope it will be famous like other interpreted languages like perl and python 
if not more!

Regards, PxPert

>
> Well, the drag & drop process interferes with the mouse selection, because
> they are launched during the same mouse event.
>
> I added the ability to prevent mouse events to propagate with STOP EVENT.
> This solves the selection of rows while dragging outside of the controls.
> But there is other interferences yet.
>
> The only clean solution at the moment should be settings GridView selection
> mode to Select.None, and implements a selection mechanism yourself, by
> managing mouse events, and drawing selected rows differently in the Data
> event.
>
> Regards,






More information about the User mailing list