Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web browser control problem
Message
De
24/05/2002 10:20:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/05/2002 09:20:14
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:
00661028
Vues:
38
This message has been marked as a message which has helped to the initial question of the thread.
>>... sounds like a timing issue. How about issuing a dodefault(), and maybe a doevents() before setting this .disabled property? I don't really know when does navigatecomplete2 fire, exacrly after the page has finished loading, or is there some slight delay.
>
>You were again correct. I put a DODEFAULT() AND DOEVENTS() prior to setting the property and this WORKS!. I no longer get the error. It is definitely a timing issue since now that it works I notice that my Home button does become disabled, but, it does so after about a second or two. Perhaps the page is still loading even though I can see (some of) it and it only appears to be completely loaded. If this is the case, then why does the NavigateComplete2 event get fired?

Maybe the rest of the load happens in a different thread, and the navigateComplete2 receives a message from that thread before it actually finishes. Happens a bit asynchronously, it seems.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform