Suppose I have a ListView with a couple of rows in it as the target. Now I
would like to find out on which row in the list view the user dropped the
dragged item so that I can react accordingly.
Any help is very much appreciated.
Regards:Alex
> Does anyone know how to find out where exactly at the target the user
> dropped the dragged item?
Send an email to sup...@devexpress.com (Developer Express support channel)
and we'll be glad to show you.
rgds,
Richard Morris
Thanks, that helped me a bit further although I couldn't solve my problem.
It works for a ListView but when I use a TcxGrid there ist no GetItemAt
method.
In the view of the cxGrid I can call GetHitTest(X,Y).HitTestCode to find out
whereabouts the drop was (e.g. htCell oder htHeader). But how do I find out
which cell (even row would be enough for me) the drop took place?
The SelectedRow or FocusedRow don't change during a Drag-and-Drop although
the rows where the mouse is over get highlighted. There must be a way to
find out. Any more ideas?