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:
00754796
Vues:
10
I went back and looked at one I wrote, a script for a call center with 50 pages and no page tabs. I made a ThisForm.udfPageToMoveTo() method, which accepted the destination page (name or page number) and a few other parameters, and mainly issued ".ActivePage=". The click code of all the decision / navigation buttons just calls the method and passes where it needs to go.

Yours is a bit different because your "Next" button has to respond to a different context for every page, so I can see why you have chosen the other way - if you use your container somewhere else, you want the branching logic to go with it. If in fact that is unlikely, my guess would be that one big method would ultimately be easier to maintain than lots of identically named little ones. Anyway, good luck.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform