THtmlViewer component
Use method LoadFromString instead.
procedure LoadStrings(Strings: ThtStrings; const Reference: ThtString = '');
The LoadStrings method loads an HTML document from a TStrings object.
Reference is an optional reference parameter.
Example
Assume an HTML document exists in a TMemo object. The following line of code could be used to then copy the document to an THtmlViewer object:
Viewer.LoadStrings(Memo1.Lines);