[Lazarus] Translation Problem or IDE Error in Lazarus 2.0 RC3?
Bart
bartjunk64 at gmail.com
Mon Feb 4 23:25:40 CET 2019
On Mon, Feb 4, 2019 at 11:21 PM Bart <bartjunk64 at gmail.com> wrote:
> > So there seems to be a dialog with [mbCancel,mbAbort] somewehere?
function TLazarusBuilder.SaveIDEMakeOptions(Profile: TBuildLazarusProfile;
Flags: TBuildLazarusFlags): TModalResult;
var
Filename: String;
fs: TFileStreamUTF8;
OptionsAsText: String;
begin
...
except
on E: Exception do begin
Result:=IDEMessageDialog(lisLazBuildErrorWritingFile,
Format(lisLazBuildUnableToWriteFile, [Filename, LineEnding])
+E.Message,
mtError,[mbCancel,mbAbort]); <<<===== There it is
exit;
end;
end;
Result:=mrOk;
end;
It does not seem to matter wether the user clicks Cancel or Abort in
this dialog though ;-)
--
Bart
More information about the lazarus
mailing list