Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating a page on a pageframe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00754557
Message ID:
00754695
Vues:
16
You undoubtedly have your reasons for doing it that way, but if possible you may find it more convenient to put the GoToNextPage method on the form, where it is easy to maintain. Thus your Next button click code never has to change:

ThisForm.GoToNextPage()

and your GoToNextPage code can be:

LOCAL lnActivePage
DO CASE
CASE lnActivePage=3
ThisForm.pgfWizard.ActivePage=10 && if there is an exception in the order
*** Other exceptions to the natural page order
CASE lnActivePage=27 && last page - do nothing
OTHERWISE
ThisForm.pgfWizard.ActivePage=ThisForm.pgfWizard.ActivePage+1
ENDCASE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform