Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00854805
Message ID:
00854816
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform