>>How can I find out if I am at the beginning or the end of the History for the Browser Control. I can use the GoBack and GoForward methods to do the obvious, but I can not figure out how to know when you can not GoBack or GoForward anymore. If you right click in the browser control window, the pop up is context sensitive enough to know when to enable/disable the Back and Forward choices. TIA!
>
>see Q163282, I think that might help.
Thanks. Now if someone can translate this to VFP:
: Private Sub
WebBrowser_CommandStateChange (ByVal Command As Long,
ByVal Enable As Boolean) Select Case Command
Case CSC_NAVIGATEBACK
Back.Enabled = Enable
Case CSC_NAVIGATEFORWARD
Forward.Enabled = Enable
End Select
End Sub
This is copied directly from the KB article so I have no idea what the correct formatting is. The actual article is at:
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q163282
Mark McCasland
Midlothian, TX USA