Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird Refresh Glitch
Message
 
À
10/06/1999 19:26:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00228603
Message ID:
00228696
Vues:
25
Jeff:

Typically you see this behavior when you have set AutoYield to .F.

Is this the case for you?

--Paul

>I'm having a weird refresh glitch with a progressbar class I wrote where the container that houses the progress bar and supporting text will not display properly.
>
>What will happen is a blank progress bar will pop up, followed by a long wait, and then the thing will refresh.
>
>My debugging indicates that a network-based ADIR call is the source of the delay, but this call is unrelated to the progress bar itself (it's actually the first step that the progress bar is tracking), and it comes after increasingly explicit calls to Refresh() methods have been made on the progress bar.
>
>Two strange characteristics that may help others clue me in:
>
>1) If I step through the code, the thing refreshes properly.
>
>2. If I insert a WAIT WINDOW (even one with a timeout of 0.1), the thing updates before the ADIR -- but if it's a WAIT WINDOW NOWAIT, the refresh does not happen.
>
>Any ideas about what is keeping the draw from displaying?
>
>-- jas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform