Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.refresh() not updating pages in pageframe.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125773
Message ID:
00125782
Vues:
27
Samuel,

VFP only refreshes the visible pages for performance reasons. Rather than adding code to every page of every pageframe you ever create as Ed suggests go up to my website. There is a PageRefresher class and a simple block of code to add to your PageFrame baseclass to make sure your page refreshes when it first activates.

>I've got a form with a pageframe that contains 9 pages. Each Page has from one to 3 controls on it. In a in the interactive change event of a combo box on the form itself, I am positioning the record pointer and issuing a thisform.refresh(). Only the current visible page is updating. If I switch to different page that page will display old data. Of course when I click a field on the page, the control updates to show current data. Any ideas?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform