Re: Checking if browser Back exists...


[ Delphi Forum -- by DelphiLand ]

Posted by WAllison on October 24, 2003 at 19:19:39:

In Reply to: Checking if Back exists... posted by Joey on October 11, 2003 at 12:06:44:

: I have now got the WebBrowser component through the activeX panel :-) But i have a problem! I have a button which the sends the user back and it executes this: webMain.GoBack; but! if there isnt a page there it crashes the application... how would i rune a chcek to see if a page is back before doing the functions?

dunno wether this will help u m8 - never played wif the web components (except ftp transfer) - how about saving the "parent" URL to a string var - then just do a comparison - there must be an event for when the page has changed!

Mail me that component - ill have a look at it m8!




[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]