Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Browser Control delay
Message
 
À
21/01/2001 11:53:13
Bob Tracy
Independent Consultant
Driftwood, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00466292
Message ID:
00466403
Vues:
11
>>lncomplete=4
>>do while readystate<>lncomplete
>>enddo
>
>Well, it was even easier than that but you gave me the clue to the solution. I had a form Refresh() call right after the Navigate2 and this seemed to be causing the problem. I still don't know why it worked on one machine and not the other, but moving the Refresh() to the browser DocumentComplete event made the problem go away.

Yeah I've written a few small apps that use the wbcontrol and the documentcomplete property USUALLY works for what I need. Sometimes you have to do a loop to check for the existence of the object that documentcomplete occurs in though otherwise, it will bomb from time-to-time.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform