Hi again,
This is what I have now, but finding an issue (FileName is correct at DBMemo box, but not when copied to Edit1.Text box):
procedure TForm1.FormDropFiles(Sender: TObject; const FileName: array of String);
var
i: Integer;
begin
DBmemo1.Lines.Insert(0, FileName[i]);
{result of above line is: DBMemo correctly shows FileName, with drive and PATH}
Edit1.Text := DBMemo1.Lines[0];
{result of above line is: Edit1.Text (the filename) is incomplete,
chopped off string. Starts correctly with drive, folder, and ends in incomplete
folder name, as if the string did not fit the container}
{DBmemo1.Lines.LoadFromFile(Edit1.Text); }
//this is intent, but now commented out
// due to filename is CUT-OFF and if not commented out, error message: can't read filename.
end;
I would appreciate help on why Edit1.Text string is incomplete, while the DBMemo1 box shows complete and correct filename, with drive, and all folders and subfolders in the path.
Thanks!