Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Yuri,
>
>Thanks for trying to help. Your code will keep appending the counter 'j' to the caption. This is not my problem. The problem I'm having, is that the label's caption does NOT change within the executing loop.
>
>Any other ideas.
>
>Mike
>
>>
>>with thisform.label1
>>.Caption =""
>>FOR j = 1 TO 100000
>> .Caption = .Caption +TRANSFORM(j)
>>ENDFOR
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement