Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageFrame problems
Message
 
To
01/12/2003 15:14:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00854805
Message ID:
00854816
Views:
22
>I have noticed many problems working with PageFrame control.
>In a Form I have a Parent and a Child table and PageFrame doesn't work good with them, especially with Refresh() method. It doesn't refresh good (or at all) controls on it's pages.
>Does anyone have experience with that?

Refresh() method by default refreshes only the active page of the pageframe. The refresh() should be called explicitly one way or another when you switch to another page. It is not very effective to write the refresh code manually for every page. It is better if you do it in a pageframe class, or you use another class that being added to the pages will refresh them automatically, when you switch the pages. For example, I posted such class here long time ago: file#9211 "Page Tab Chameleon"

But it does not mean there is a problem with pageframe refreshes. It is just by design. It is not effective to refresh many controls on the pages that you don't see at the moment.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform