Home > Archive > FoxPro Help and Support > May 2005 > Text Display Delayed Problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Text Display Delayed Problem
Martin Lam

2005-05-18, 7:25 am

Hi,

When I click "Go" to start generating a report, I want to show a window with
a label showing a message "Processing data, please wait!"

This window for message is set to visible=.F. as default. On clicking "Go",
the first thing I do is to make visible=.T., and then retrieve data from the
server.

The problem is that, the message "Processing data, please wait!" does not
show-up, until it is almost the end of the processing. e.g. if it takes 5
seconds to generate the report, the message only shows when it is 4.5
seconds.

What did I do wrong? Any idea?

I'm using VFP 8, Win 2000.

Martin Lam





aNON

2005-05-20, 8:25 pm

>
> When I click "Go" to start generating a report, I want to show a window
> with
> a label showing a message "Processing data, please wait!"
>
> This window for message is set to visible=.F. as default. On clicking
> "Go",
> the first thing I do is to make visible=.T., and then retrieve data from
> the
> server.
>
> The problem is that, the message "Processing data, please wait!" does not
> show-up, until it is almost the end of the processing. e.g. if it takes 5
> seconds to generate the report, the message only shows when it is 4.5
> seconds.
>
> What did I do wrong? Any idea?
>


Try adding a DOEVENTS command just before you generate the report.


Martin Lam

2005-05-23, 3:24 am

Dear Anon,

> Try adding a DOEVENTS command just before you generate the report.


It works perfectly. Thanks for your kindly helps!

Martin Lam



"aNON" <Bladder@Full.com> wrote in message
news:1116626395.24647.0@echo.uk.clara.net...
not[color=darkred]
5[color=darkred]
>
> Try adding a DOEVENTS command just before you generate the report.
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com