I want to be able to drag a list of selected records from my grid and drop them onto a program which accepts WM_DROPFILES.My environment is Windows (Windows 7 64bit).
Quote from: Mike.Cornflake on October 19, 2018, 07:44:01 amI want to be able to drag a list of selected records from my grid and drop them onto a program which accepts WM_DROPFILES.My environment is Windows (Windows 7 64bit).An example of using attachment:In the new project add the TMemo component to the form, fill in its lines with the full file names and add the code with the event:Code: Pascal [Select][+][-]procedure TForm1.Memo1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);begin if DragDropCopyComplete(Memo1.Lines) then Caption := 'Dropped';end;Then, at run time, drag Memo to some directory in Windows Explorer.