[Gambas-user] Drag & Drop

sbungay sbungay at ...981...
Thu Feb 1 05:48:36 CET 2007


You're the best Benoit. If I had extra cash I'd be sponsoring this project.


Benoit Minisini wrote:
> 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,
> 




More information about the User mailing list