Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser Control History
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00589774
Message ID:
00589843
Vues:
30
>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    && Back is a button class
>    Case CSC_NAVIGATEFORWARD
>      Forward.Enabled = Enable   && Forward is a button class
>  End Select
>End Sub
No line continuations in VB.

Yeah, but what would it be in VFP code? The browser control does have a CommandStateChange method that you can call, but there are no parameters for it. So once you navigate somewhere, it always returns true.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform