Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird Refresh Glitch
Message
From
10/06/1999 19:26:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Weird Refresh Glitch
Miscellaneous
Thread ID:
00228603
Message ID:
00228603
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform