Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only visible page of pageframe is refreshed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00023124
Message ID:
00023125
Vues:
23
>I have a form with nav buttons and a page frame. THISFORM.Refresh is not refreshing the hidden pages on the pageframe. When I select those pages, their textboxes are empty until I do something like edit the record. I corrected the problem by putting code in the Pageframe.Refresh that said
>THIS.Page1.Refresh
>THIS.Page2.Refresh
>THIS.Page3.Refresh etc.
>but I don't see why I had to do that. By the way, the nav buttons are modified from the wizstyle.txtbtns class. Among other things, I had to change it so that it would look in pageframes for objects to enable or disable.

Well, there's been some grumbling (including me at first) about the page refreshing, but maybe in the big picture it's not so bad, since refreshing everything on a form with pageframe (maybe subpageframes) could slow things down unnecessarily. You might want to think about putting the individual page refreshes just in the Activate or Click events for the pages so you don't refresh pages that don't need it...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform