Board index » delphi » Drag&Drop and TDBGrid

Drag&Drop and TDBGrid

Hello!

How can I drag and drop a single cell in a TDBGrid? There is no
OnMouseDown event for TDBGrid, so I dont' now, how to handle it.
Thanks in advance!

bye, Tobias

 

Re:Drag&Drop and TDBGrid


In article <36bb509b.1754...@news.tu-ilmenau.de>, Tobias.Gr...@gmx.de (Tobias

Quote
Grimm) writes:
>How can I drag and drop a single cell in a TDBGrid?

I've done drag-and-drop with a TListBox, and having reviewed my Delphi Help, it
looks like the same technique would apply to a TDBGrid: you don't drag a single
cell at all. You drag the control as a unit.

Once the drop occurs, you would simply process whichever cell of the grid is
selected at the time.

Elliott
"I don't want to achieve immortality through my work.  I want to achieve
immortality through not dying." --Woody Allen

Other Threads