Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser Control History
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00589774
Message ID:
00589821
Views:
26
>>>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:Hmmm...I think it would be like this:
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
No line continuations in VB.
>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
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform