Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser Control History
Message
 
 
À
05/12/2001 09:31:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00589774
Message ID:
00589815
Vues:
32
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform