BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

View html component

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
SteveW
Guest





PostPosted: Fri May 12, 2006 1:15 pm    Post subject: View html component Reply with quote



I need to view html code in a window.

IE have the html code in one window and on click of a button have the web
image shown in another window.

Cheers

SteveW
Back to top
SteveW
Guest





PostPosted: Fri May 12, 2006 2:15 pm    Post subject: Re: View html component Reply with quote



Thanks for the info

I have the text of the html in a string variable "link"

What is the syntax to show this in webBrowser1

cheers

"Liz" <liz_wants_no_spam (AT) xcalibur (DOT) nospam.co.uk> wrote in message
news:xn0em54le44bbuc01i (AT) newsgroups (DOT) borland.com...
Quote:
SteveW wrote:

I need to view html code in a window.

IE have the html code in one window and on click of a button have the
web image shown in another window.


Try synedit to show the syntax highlighted code, and twebbrowser to
view the code as formed by IE.

--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Back to top
Liz
Guest





PostPosted: Fri May 12, 2006 2:15 pm    Post subject: Re: View html component Reply with quote



SteveW wrote:

Quote:
I need to view html code in a window.

IE have the html code in one window and on click of a button have the
web image shown in another window.


Try synedit to show the syntax highlighted code, and twebbrowser to
view the code as formed by IE.

--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Back to top
Liz
Guest





PostPosted: Fri May 12, 2006 3:15 pm    Post subject: Re: View html component Reply with quote

SteveW wrote:

Quote:
Thanks for the info

I have the text of the html in a string variable "link"

What is the syntax to show this in webBrowser1

I use

webbrowser1.Navigate('about:blank');
Webbrowser1.OleObject.Document.write(s);


-- if you need to change the text in the browser, do

webbrwoser1.refresh;
Webbrowser1.OleObject.Document.write(s);

:>

--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.