Board index » delphi » PBear viwer Componet

PBear viwer Componet

I load a HTML Viewer Component from www.pbear.com with

  Stream := GetStream(Url)
  Viewer.LoadFromStream(Stream);

But I want access to a text file of the stream so I can view the HTML

I tried

Memo1.Lines. LoadFromStream(Stream);

But just got a blank page..

Stream is of type TMemoryStream;

Any pointer please

Cheers

Matt

 

Re:PBear viwer Componet


Quote
>Any pointer please

Most probably problem: The stream position has to be set to 0.

Regards from Germany

Franz-Leo

Other Threads