Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form refresh not keeping up with table changes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00343411
Message ID:
00343768
Views:
26
>>Actually I tried a test with a Label vs. a TextBox bound to a value. They both refresh at the exact same time. I was just changing a variable in a loop, 1 to 100. The two controls would show exactly the same numbers (like, 1, then 44, then 100, or 1, then 52, then 100). In other words, The choice of control seems to make absolutely no difference.
>>
>>The way I got them to show each change was to put more code between the time that I change the value and the time that I changed the caption/refreshed the editbox.
>>
>>I looks like VFP will only refresh so fast. It is almost like it has a refresh request, and it goes along and does other stuff and at some point it checks "Was there a refresh request?" and if the answer is yes, it re-paints the control/screen. In this case, there are several to many refresh requests before VFP asks the "Was there a refresh request?" question. So we miss some of the refreshes. Maybe this is something that helps with the speed of other tasks?
>>
>Joe,
> I think you have hit on something there about the form only doing the refresh when it gets around to it. That is just what it seems to be doing.
>
>Colin Magee suggested that I only refresh the object that gets updated so I am going to try that. I'll let you all know how it turns out.
>
>Colin,
> Thanks for the suggestion help.

No problem. Hope this helps the situation. Let us know if it works.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform