Board index » delphi » Drag&drop from a TDBGrid

Drag&drop from a TDBGrid

I want to drag a row (current record) from a TDBGrid and drop it on a
TTreeview. If I set the dragmode to automatic the dragging goes ok but
then I cannot select any other record in the grid - every mouse click
starts the drag operation. I don't know how to implement the dragging
with the mode set to manual.
Has anyone found a solution to this one?

Thanks,
 Marko.

 

Re:Drag&drop from a TDBGrid


Quote
"Marko Lesnik" <gradb...@siol.net> wrote in message

news:94hskr$8b98@bornews.inprise.com...

Quote
> I want to drag a row (current record) from a TDBGrid and drop it on
a
> TTreeview. If I set the dragmode to automatic the dragging goes ok
but
> then I cannot select any other record in the grid - every mouse
click
> starts the drag operation. I don't know how to implement the
dragging
> with the mode set to manual.
> Has anyone found a solution to this one?

This Borland TI should help -

http://community.borland.com/article/0,1410,16562,00.html

--
Regards,
Chris Luck

Other Threads