Ignore:
Timestamp:
May 1, 2018, 3:15:03 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
  • Modified: Formatted ScreenTools unit.
  • Modified: Base fonts loading split to separate function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Components/StringTables.pas

    r111 r128  
    4646function TStringTable.LoadFromFile(const FileName: String): boolean;
    4747begin
    48   Lines.LoadFromFile(FileName);
     48  Result := True;
     49  Lines.Clear;
     50  try
     51    Lines.LoadFromFile(FileName);
     52  except
     53    Result := False;
     54  end;
    4955end;
    5056
Note: See TracChangeset for help on using the changeset viewer.