Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh() not updating pages in pageframe.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125773
Message ID:
00127737
Views:
39
>>
>>LOCAL i
>>FOR i = 1 TO THIS.PageCount
>>   IF i # THIS.ActivePage
>>      THIS.Pages(i).Refresh()
>>   ENDIF
>>ENDFOR
>>
>>This is called the terminally lazy approach :)
>
>John,
>
>The downside of your approach is that you suffer the refresh time of every page when only one is visible.

Which brings us back to the original problem.

For the record, this not so hypothetical page displays a grid the is sucked down via a SQL ODBC Data source. It can take a second or two to refresh the data.

My perfect ideal solution would be to update the visible page immediately, then if the page was changed, update the new page, and if they switch back and forth between the two pages, don't update at all.
If they have you asking the wrong questions,
they don't have to worry about the answers.
-proverbs for paranoids #3
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform