<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>Please file a bug report, at least the unexistant .lrf case should trigger an exception.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.33px; font-family: "Courier New"; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.33px; font-family: "Courier New"; background-color: transparent; font-style: normal;"><span>Jesus Reyes A.<br></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-size: 10pt; font-family: "Courier New", "courier", "monaco", monospace, sans-serif;"> <div style="font-size: 12pt; font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial",
"Lucida Grande", sans-serif;"> <div dir="ltr"> <font size="2" face="Arial"> El Domingo, 24 de agosto, 2014 16:56:44, Bart <bartjunk64@gmail.com> escribió:<br> </font> </div> <br><br> <div class="y_msg_container">Hi,<br><br>TfrReport.LoadFromFile does not raise an exception (or return ay other<br>indication of error) if the file does not exist and the filename has<br>the .lrf extension.<br>If the filename has another extension the code results in a dialog<br>'Unsupported FRF format'.<br>This to me is even more bothersome, I cannot trap this in code at all,<br>nor can I suppress the dialog.<br><br>Similar to other components that have a LoadFromFile (TMemo, TSynEdit,<br>TStringGrid to name a few), I would expect the LoadFromFile to raise<br>an exception in both cases.<br><br>Before I file this in the bigtracjker, I ask here.<br>Maybe this is by design (compatibility with Delphi
perhaps)?<br><br>Bart<br><br>--<br>_______________________________________________<br>Lazarus mailing list<br><a ymailto="mailto:Lazarus@lists.lazarus.freepascal.org" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br><a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br><br><br></div> </div> </div> </div> </div></body></html>