Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-09

savedialog carbon osx

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

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>

Reply by email