[Gambas-user] Drag & Drop

Benoit Minisini gambas at ...1...
Wed Jan 31 17:56:13 CET 2007


On Monday 29 January 2007 20:04, sbungay wrote:
> The image of the item being dragged appears to the lower right of the
> mouse cursor. What I want to do is have it work like in the ide. When
> you drag a control around on a form it appears to be held by the mouse
> at the spot where you pressed the mouse button on it.
>    I have grepped through the class files of gambas2 for 'drag' to see
> if I could locate it's events and work-out how it accomplishes the task
> but came up empty. If anyone can point me in the right direction I'd
> appreciate it.
>
> Steve.
>

I will add a Drag.IconX and a Draw.IconY properties to define the drag icon 
hot spot.

Regards,

-- 
Benoit Minisini




More information about the User mailing list