Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding a particular page tab
Message
De
12/01/2000 20:22:55
 
 
À
12/01/2000 19:52:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00317317
Message ID:
00317358
Vues:
23
>You can't hide the page, but you can remove it. In the PageFrame.Init, you can:
>IF !AllowAccess("Page2")
> This.RemoveObject("Page2")
>ENDIF

That might be the simplest because you probably won't want the "hidden" page back while the form is stilling open (making an assupmtion about the conditions).

Just comb the code to make sure you aren't referencing Pages that don't exist or aren't what you expect in the Pages array after they're gone.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform