Clear TWebBrwoser Navigation History

I am using the Delphi 4 TWebBrowser component. How can I clear the history of the pages that has been navigated to?
skymagAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
intheConnect With a Mentor Commented:
Hi,
see here for the best methods:
http://www.euromind.com/iedelphi/IECache.htm
and maybe:
http://www.euromind.com/iedelphi/UrlHistory.htm

if you have difficulty getting to site it is mirrored here:
http://www.intelligo.net/iedelphi/

Regards Barry

0
 
rwilson032697Commented:
Listening
0
 
intheCommented:
hello skymag,
did you try it?
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
skymagAuthor Commented:
Hi There

I actually know about this site but are still battling to do this. You don't have sample code for me please?
0
 
intheCommented:
there is a component there to do it for you .
will test and post example later if still needed.
0
 
intheCommented:
this is all that is needed with the component:

procedure TForm1.Button1Click(Sender: TObject);
begin
iecache1.ClearAllEntries;
end;

it works straightwaay for d5 but for
for d4 get the updated wininet.pas from jedi (link on euromind page)
and in code for cache component just have to fix/change the FreeAndNil line
 (FreeAndNil is a d5 thing)
0
All Courses

From novice to tech pro — start learning today.