Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make a Page in a PageFrame invisible
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00414026
Message ID:
00414635
Vues:
25
Gerard,

To build on Brett's reply you could actually use two pageframes, one that is just the tabs and one that is tabless and just the pages. You could easily Add/RemoveObject() the page to the tabbed one. You can use something like the PageRefresher class from my website to keep the two pageframes in synch with code like this:
LPARAMETERS lEnable

if ( lEnable )
   dodefault()
 
   thisform.pageframe2.ActivePage = this.parent.parent.ActivePage
endif
Of course the other pageframe's name shouldn't be hardcoded it ought to be a parameter send to the PageRefresher init.

To make it all look seamless push the tabless pageframe behind the tabbed one.

>I have a Pageframe, and depending on Form Parameters, I want to
>make one of the Pages Visible or Invisible.
>
>I dont see a 'Visible' property for a page so I'm wondering how is this done ? . I know it can be 'Removed', but How do I add it back in again if I go down this route.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform