Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only