Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser Control History
Message
 
 
To
05/12/2001 09:31:18
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00589774
Message ID:
00589815
Views:
31
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform