[Lazarus] savedialog carbon osx

Andrea Mauri andrea.mauri.75 at gmail.com
Wed Sep 6 19:14:15 CEST 2017


Dear all,

I have an issue with tsavedialog on OS X (laz 1.6.4, fps 3.0.2).
If I execute the dialog and select a file in Documents folder then I
execute again the dialog the filename is highlighted in the savedialog, I
just press Save and the file name I messed up, the filename include the
previous filename plus the new filename without path.
In order to reproduce that just add a button a savedialog and a label to a
form.

procedure TForm1.Button1Click(Sender: TObject);
begin
  if SaveDialog1.Execute then
    Label1.Caption:= SaveDialog1.FileName;
end;

A known bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170906/498d8186/attachment.html>


More information about the Lazarus mailing list