Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this code?
Message
From
18/09/2002 14:05:42
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
What's wrong with this code?
Miscellaneous
Thread ID:
00701938
Message ID:
00701938
Views:
59
Help...anyone

I have a form with two controls, a label and a button. When I click the button I want to see the label display some numbers. In the button's click event, I put the following:
FOR j = 1 TO 100000
	thisform.label1.Caption = TRANSFORM(j)
ENDFOR
Now I thought that I should be able to see the label displaying the numbers 1 thru 100000 but instead I only see the last value (100000). I even tried sticking a DOEVENTS in the loop with no success.

It seems like such a simple request. What did I do wrong?

TIA

MIke
Next
Reply
Map
View

Click here to load this message in the networking platform