Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange eratic behavior with Edit box.
Message
De
22/02/1998 19:14:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00080311
Message ID:
00080355
Vues:
35
But I displayed and updated the progress bar *before* I queued the event to the activeX control. I wasn't having a problem updating the progress bar while the activex control was running. They have a hook into the dzip to allow for updating progress bars etc. The problem was before I displayed it. I'm sure DOevents would have solved it to, but what I did was just put up a wait window that said "Preparing to unzip compressed file. . ." timeout 1. For some reason, the allowed the screen to be updated, showing the progress bar back at 0% complete. I hope I'm making sense here. . -Rick >The _TALLY was 0 becasue append blank doesn't update _TALLY, sql SELECT does. > >What you were seeing witht eh progress bar is the fact that VFP will not process events while it is running code. You queued and evetn to teh ActiveX control and then fox just kept on keepin' on and the event remained in the queue until fox was finished. > >The commadn to tell fox to stop and process events is DoEvents. Although you want ot use that comadn sparingly because it processes all window events and can slow your code down drastically.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform