Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I make page unvisible?
Message
De
31/12/1999 10:55:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00292684
Message ID:
00310909
Vues:
38
Hi Nadya,

>Ok, no problem. Right now I'm going to concetrate on class dessign for user's input (Ed's and Ken's suggestions). Just answer me to my both e-mails, home and work:

My class builds the tabs based on the order of Pages array, which may not necessarily be the order they are shown in. The common cause is when you delete a page not on the end, and then add another one, then change the PageOrder to move it from the end. In order to fix this, the built-in behavior to change pages automattically would be wrong. Say you have 8 pages, delete five, now you change the PageCOunt to eight, and it adds a new one to the end, and you move the tab order to 5. Now, take make the fifth shown page active, you do: ActivePage = 8, because it was created last so its last in the Pages array.

While special code might be written to save this, I don't think I'll add it myself. So you can either subclass the page class AND you've have to make a class out of the Option Group: OR, you can cleanup your Pages Array. Its basically done by Cut and Paste of the controls on the pages to a new page, you may need to add more pages to workwith temporarily.

Does this make sense?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform