Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with this code?
Message
De
18/09/2002 14:05:42
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
What's wrong with this code?
Divers
Thread ID:
00701938
Message ID:
00701938
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform