Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh() not updating pages in pageframe.
Message
From
17/08/1998 13:40:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125773
Message ID:
00127486
Views:
38
Hiya Jim ---

>
>If I have a page that takes 1 second to refresh I would seriously review my design. That page is very likely overly complicated.
>

I think that would depend on why it takes over a second. I've had some complex grids that slowed down page refresh to 1-2 seconds.

>I use decorator objects that issue a THIS.Parent.Refresh() in their UIEnabled Event and just put one on each page.

Hmmm....that's a "refreshing" idea. I use a Page's UIEnable for THIS.Refresh to catch the Activates but I also put into the Pageframes Refresh:
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 Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform