🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1071

TCppWebBrowser and scrollIntoView

#1071
From: Brian Rasmusson
Date: Fri, 30 Sep 2005 11:41
19 lines
1623 bytes
Hello,

I'd like to be able to navigate a page in a TCppWebBrowser using buttons 
in my application and without reloading the page using Navigate and 
anchor tags. The page has uniquely named anchor tags I'd like to change 
between.

I've seen scrollIntoView referenced in lots of Delphi examples, but 
being a complete beginner with IE automation in C++ I'm pretty much lost 
as there seems to be many differences between TWebBrowser and 
TCppWebBrowser.

Does anyone have a small example of using scrollIntoView to scroll to a 
named anchor tag??

Thanks very much in advance!

Regards,
Brian
Technical Details
Message-ID: <433d23e8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!t-online.de!195.92.193.196.MISMATCH!nntp.theplanet.net!inewsm1.nntp.theplanet.net!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,90af7ce9f2204e2c,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 30 Sep 2005 13:41:20 +0200
From: Brian Rasmusson <br@XbitXberXry.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TCppWebBrowser and scrollIntoView
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.130.59.4
Message-ID: <433d23e8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1128080360 212.130.59.4 (30 Sep 2005 04:39:20 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!t-online.de!195.92.193.196.MISMATCH!nntp.theplanet.net!inewsm1.nntp.theplanet.net!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail