Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this code?
Message
From
18/09/2002 14:48:35
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00701938
Message ID:
00701970
Views:
15
Yuri,

You are correct in that it may be too fast for the human eye. That's why I tried to use a DOEVENTS within the loop but it didn't seem to make a difference. Putting a Thisform.refresh also didn't help. However, the wait window timeout that you suggested does work for me. Thank you.

Mike

>How do you supposed to see that caption is changing? On each loop you need to wait until caption is refreshed showing the new number for the time period enough to be recognized by human eye
>FOR j = 1 TO 100000
> .Caption = TRANSFORM(j)
>* possibly you need to add here
>.refresh
>wait wind time 0.05 ""
>
>ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform