Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress form not refreshing in runtime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01092609
Message ID:
01092809
Vues:
13
I think I'm using ProgBar class by Rick Borup which is based on Alexander Grigoriev library which uses Windows API instead of native VFP controls or ActiveX. Works pretty nice.

>>Chad,
>>
>>Thanks, man!
>>
>>Do you know why there is such behavior in the progress form?
>
>Dawa,
>
>Not technically, but I believe it has to do with the way VFP draws its forms. I don't believe VFP controls are true Windows controls and therefore don't respond as effectively as the true Windows controls do. But, the api call forces the OS to redraw the form in its newly updated state. Otherwise, VFP waits for an opportunity (an idle state) to draw it. When dealing with progress bars, idle states are typically not available or else you wouldn't need the progress bar. <s>
>
>I'm sure others here could chime in with a more technical (or maybe even correct) answer, though.
>
>HTH,
>Chad
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform