Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh() not updating pages in pageframe.
Message
From
18/08/1998 11:34:04
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125773
Message ID:
00127768
Views:
47
>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.

This is what my base PageFrame class does. It keeps a CleanFlag array, and when you select a new page, if it is not clean, it refreshes. PageFrame.REFRES() marks them all dirty and refreshes the activePage. Works nicely.

Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform