On 20 Jan 2006, at 02:35, Brian Heibert wrote:

Read my last post
that doesn't change the window title to the open webpage's title
I know I need to put something in Sub TitleChanged(newTitle) as string
but I don't know what

Brian
On Jan 19, 2006, at 9:06 PM, Barry Traver wrote:

Brian,

How do I get the title of the web page being displayed in the htmlviewer control?

Insert this code into the HTMLViewer1 DocumentComplete event handler:

Window1.Title = URL

That's all there is to it!


Brian,

TitleChanged(newTitle) is passed the new title, so just set Window1.Title = newTitle

It's that simple.

--
Ian M. Jones
___________________________________
http://www.imijsoft.com
http://www.ianmjones.net (blog)


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to