Hi Dear Friends,
With the help of the code below;
I get the file path into the listbox by drag and drop the file on the desktop.
procedure TForm1.FormDropFiles(Sender: TObject; const FileNames: array of String);
var
i:integer;
begin
ListBox1.Clear;
for i:=0 to Length(FileNames)-1 do
begin
listbox1.Items.Add(FileNames[i]);
end;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
AllowDropFiles:=true;
end;
Now I want to do the opposite. Well ;
From the file path information, how can I transfer the file to a folder with drag and drop.
I would be grateful if you help. Respects.