TWebBrowser.OleObject.Document.documentElement.innerText

Returns a String containing the plain text (sans HTML tags, if any). 

That should get you what it sounds like you want.

HTH

Stephen Posey
[email protected] 

-----Original Message-----
>From: -K2RFP- <[email protected]>
>Sent: Aug 15, 2010 10:53 PM
>To: [email protected]
>Subject: TWebBrowser
>
>I'm using a TWebBrowser component to open and display
>a webpage that is simple text.
>How can I gain access to the web page contents so I
>can save it to a file by clicking a button on my
>application?
>
>__________________________________________________
>Delphi-Talk mailing list -> [email protected]
>http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to