Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web browser control problem
Message
De
23/05/2002 12:02:07
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00660410
Message ID:
00660553
Vues:
19
Hi Mark,

Thanks for the advice. I'll check into your demo.

I must emphasize that I have these buttons on the doc and not on the VFP form. I can make the latter work successfully. The problems I'm having is related to the fact that the button is now in the doc!

The interesting thing is that this problem happens for any reference to any object on the doc. I cannot set their properties without causing VFP to error. If I ignore the error and resume, thing work ok. I verified this by placing a SET STEP ON just prior to the problem. When the trace window pops up, I simply resume and everything is ok. So it seems to me that there is some kind of timing problem?

Can you set a property for an object in your doc via the browser controls NavigateComplete2 event?

Mike.

>Download my web browser/web services demo from http://www.mctweedle.com [click the FoxPro Tools link on that page]. While I have these buttons on the form and not the doc, it may give you some idea how to handle the enabling and disabling of the various buttons.
>
>>Hello.
>>
>>I have placed the web browser control on a VFP6.0 form and have successfully navigated to html pages that are generated in VFP at runtime. I put a Back, Forward and Home button in my html page. Notice I said on my html page and not on the VFP form. It is actually in a frame. What I want to do is to disable/enable those buttons as is appropriate. For example, if the user navigates to the Home page, I want to disable the Home button on the page.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform