Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a label caption
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357731
Message ID:
00360020
Views:
15
>ThisForm.lbl1.caption = "Running some SQL."
>ThisForm.refresh
>ThisForm.RunSomeSQL
>
>The label caption is not refreshed until after the RunSomeSQL method has completed. Let me repeat that the above code works when the method does not execute a SQL statement. This is too wierd to me.

Michael,
I ran into the same type of problem a short while back. I fixed it by changing from Refresh() to Thisform.Draw. It works like a charm, is very fast and dosen't try to update everything.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform