Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Designer/Page Tabs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00197211
Message ID:
00197214
Vues:
22
Hi Jason,

>Then, I ran my form and entered data. I entered about 5 records to test things out. I noticed that when I scrolled through the records, the information on page 1 was changing with each record, but the info. on page two stayed the same! Page frame two was not reflecting the same record after record number one.
>
>What do I need to do to relieve this problem? Is it just a matter of tying to two together with a certain command in the properties grid, or did I really miss something really obvious when I was setting up my page frame?


Try doing a THIS.REFRESH() in the Activate of Page 2.

A better solution would be to insure that all pages REFRESH() everytime the Pageframe does by adding the following code to the REFRESH() of your base Pageframe class.

LOCAL i, lnPages
lnPages = THIS.PageCount
FOR i = 1 TO lnPages
THIS.Pages[i].REFRESH()
ENDFOR

Hope this helps...
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform