Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page frame not refreshing pages
Message
De
18/11/1997 14:16:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00060987
Message ID:
00061001
Vues:
42
>>>I am a beginner in visual Foxpro v5.0. I have created a test form with a page frame that has 3 pages. In the DE I have 3 related tables. I have dragged fields from table1 onto page 1, table2 onto page 2, and table 3 onto page 3. I have used the standard textbutton controls from the wizclass. The only code I have placed is in the click event of the form: thisform.refresh. When I run the form, the fields in page1 (table1) operate correctly, but the other two pages fields remain static. It seem that their record pointers are not moving. What exactly do I need to do, to get them to become "active".?
>>
>>Don't worry about record pointers, they move Ok. However, it's your responsibility to refresh all pages (VFP will refresh only active one). So, put This.Refresh() into each Page.Activate event.
>>
>>Thanks for the reply. I have tried your suggestion, but it still doesn't seem to work. I also notice that if I click on either page2 or page3, and then click the next textbutton, the record does not move to the next record, and still remains at the beginning or top of the file.

Well, here you should look inside your buttons, and make sure at least, that you move pointer in proper work area. Also, be sure that you really move pointer in related tables when you move along one of them, because depending on foreign key value you can still be on the same record on another side of relationship.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform