|
Rank: Member Groups: Member
Joined: 1/20/2014 Posts: 20
|
Hi
Have had this issue for a while and hoped in would be fixed when upgrading fromEO2016 to EO2016. I have Back/Fwd icons that are visble if browser can go back or fwd. This works fine with the built-in IE WebBrowser object, but not with EO. I'm sure I'm need to do something else, than what I', doing:)
My code:
Private Sub WebView1_UrlChanged(sender As Object, e As EventArgs) Handles WebView1.UrlChanged
picLeft.Visible = WebView1.CanGoBack picRight.Visible = WebView1.CanGoForward
End Sub
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Have you tried using CanGoBackChanged and CanGoForwardChanged event instead?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/20/2014 Posts: 20
|
No, but that wont help me understand if I can go back or not, just that it changed. Right?
|
|
Rank: Member Groups: Member
Joined: 1/20/2014 Posts: 20
|
BTW - when is the URL_Changed event raised?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
WeeSwe wrote:No, but that wont help me understand if I can go back or not, just that it changed. Right? Can you try it first?
|
|
Rank: Member Groups: Member
Joined: 1/20/2014 Posts: 20
|
Ah, didn't think that one through:) The event is raised as the back/fwd stack IS changed. Work perfectly. Pls close.
Txs!
|
|