Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DocumentComplete Not Firing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00288932
Message ID:
00289159
Vues:
45
>>I have an ActiveX web browser control on Page2 of a page frame on a form. I have code in the DocumentComplete event of the control. I have noted that when Page1 is the visible page and I fire the web browser's Navigate2 event from Page1, the DocumentComplete event does not fire until Page2 containing the web browser control is made the visible page. Is this normal behavior or am I missing something here?
>>
>>Thanks,
>>Bill
>
>Try putting your code in the downloadcomplete event.

Yeah, I looked at puttng it there, but it doesn't quite accomplish the same thing. Quoting from the MSDN Library: "Unlike NavigateComplete2, which is fired only when a URL is successfully navigated to, this event is always fired after a navigation starts". I'm not quite sure how this works out, but I was seeing my code execute twice for every navigation. I'll have to experiment with this some more.

Thanks
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform