https://code.google.com/p/thtmlviewer/
Thanks for pointing that one out.
This is the THtmlPort before any lazarus/fpc support.
According to its "What's New page", it seems that it started "supporting Lazarus" since version 10, while THtmlPort is standing at version 9.45.
It does not, in some internal VCS checkin they removed all code specific to lazarus, if memory serves me right, the documentation is outdated.
It works. Not impressed by its page rendering speed on local html files. But it does work.
Downloaded
HtmlViewer-115-r472.7z.
Expanded it.
Opened HtmlViewer\Demos\Main Demos\FrameDemLaz.lpi
Removed some required package (FrameViewer09 I think) from within the Project Inspector window.
Tried to compile it, failed and complained about TBaseForm at:
HtmlViewer\Demos\Main Demos\FDemUnit.pas
{$ifdef UseTNT}
TBaseForm = TTntForm;
{$else}
TBaseForm = TForm
{$endif}
{ TForm1 }
TForm1 = class(TBaseForm) //<----------------
replaced it with
{$ifdef UseTNT}
TBaseForm = TTntForm;
{$else}
{$MACRO on}
{$define TBaseForm := TForm}
{$endif}
{ TForm1 }
TForm1 = class(TBaseForm)
tried again, failed at:
HtmlViewer\source\vwPrint.pas
{$ifdef LCL}
PrnDev := TPrinterDevice(Printer.Printers.Objects[Printer.PrinterIndex]);
{$if lcl_fullversion >= 1020000}
DevMode := PrnDev.DevModeA;
{$else}
DevMode := PrnDev.DevMode; //<-----------
{$ifend}
Commented it out and tried again.
Passed and worked!