Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Conditional Container
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00532576
Message ID:
00532740
Vues:
17
Stephen,

I'm not 100% sure, I understood. You create a page object on the fly, right?

For instance, I have a form with two pages. I put nothing on the second page. In page Activate I have:
********************************************************************
*  Description.......: Page2.Activate
*  Calling Samples...: 
*  Parameter List....: 
*  Created by........:  
*  Modified by.......: Nadya Nosonovsky 07/19/2001 01:30:38 PM
********************************************************************
with this
     if type("this.ContPageBrowse")<>"O"
          .newobject("ContPageBrowse","PageBrowse","phones.vcx")
          .ContPageBrowse.top=1
          .ContPageBrowse.left=1
          .ContPageBrowse.height=.parent.height-25
          .ContPageBrowse.width=.parent.width-3
          .ContPageBrowse.visible=.t.          
     endif
     .refresh()
     .ContPageBrowse.grdBldMstr.setfocus()
endwith
Is it essentially your suggestion or I misunderstood?



>No prob
>
>I have a like issue on a form and I used a pageframe without tabs and it works very speedy and cleanly
>
>>Ok! I wasn't aware that you could have a pageframe without tabs. This will do exactly what I want as I originally had it on a pageframe, but the tabs weren't relevant, disabled or not, under certain conditions. Thanks!
>>
>>>add a pageframe to the form, set "tabs" property to .F., and in the refresh of the form evaluate the condition and show the desired page thisform.pageframe.activepage = nPageNumber
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform