Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buttons to activate Prev / Next page, logic improvements
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01383298
Message ID:
01383322
Vues:
61
>Hi all
>
>I have finally come to my wits end. I have a form with a page frame and pages on it. The pages do not have the same PageOrder as that of the creation, so for eg. the 3rd page might have a PageOrder of 5 or may be it has a PageOrder of 2. There are 2 buttons on the form which when clicked are supposed to activate either the previous or next page as per PageOrder, of course the captions are adapated as soon as they are clicked. Yes, there are pages that are disabled / hidden, they are to be skipped. To tackle this I have the following code but I still cannot get the captions and activation right. Can someone look at the code and optimize / debug the most obviously flaws I might have looked missed.
>
>Thanks.
>

Why have the Next and Previous page buttons in the first place? The whole idea of a page frame is to click the tab of the page you want. Simple, intuitive. IMO separate buttons add nothing and in fact might cause confusion. If I encountered that interface my reaction would probably be "Next what? Previous what?"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform