DragDrop of Files on wwDataGrid

Comments

5 comments

  • Roy Woll

    Have you tried setting the Row property?

    1
    Comment actions Permalink
  • Roy Woll

    Please review our demo PDragDrop as mentioned earlier, as it is a complete example, including getting the row from the point.

    1
    Comment actions Permalink
  • Roy Woll

    You also may want to look at our grid drag/drop demo. See the demo project PDragDrop

    0
    Comment actions Permalink
  • Max

    I could set the Row property. The problem is knowing which row i´ve dropped the file on. I only get the Sender, the Data and the Point where it´s been dropped.

    procedure TMainForm.Grid1DragDrop(Sender: TObject; const Data: TDragObject; const Point: TPointF);
    begin

    end;

    Is there a way to get the row in the grid with the Point?

    0
    Comment actions Permalink
  • Max

    I´ve found it now. Thank you. For some reason i didn´t see the DragOver and DragDrop in that sample last time i looked at it.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk