THtmlViewer component
Use method LoadFromFile instead.
procedure LoadTextFile(const Filename: ThtString);
The LoadTextFile method loads a file for viewing treating it as an ASCII text file. If the file is an HTML file, it will be displayed as text showing the HTML tags, etc.