Hi, TfrReport.LoadFromFile does not raise an exception (or return ay other indication of error) if the file does not exist and the filename has the .lrf extension. If the filename has another extension the code results in a dialog 'Unsupported FRF format'. This to me is even more bothersome, I cannot trap this in code at all, nor can I suppress the dialog.
Similar to other components that have a LoadFromFile (TMemo, TSynEdit, TStringGrid to name a few), I would expect the LoadFromFile to raise an exception in both cases. Before I file this in the bigtracjker, I ask here. Maybe this is by design (compatibility with Delphi perhaps)? Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
