Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser Control History
Message
De
05/12/2001 10:03:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00589774
Message ID:
00589820
Vues:
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:
>:   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

Notice I was careful not to say how much it might help :)
Len Speed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform