Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Conditional Container
Message
 
 
À
19/07/2001 10:59:36
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00532576
Message ID:
00532733
Vues:
10
>I want to have a portion of a form that changes depending on a condition whenever refreshed. Can I create different containers as classes and then call the one I want to display somehow during runtime? I'm trying to avoid having multiple containers that will occupy the same space on my form in development. Thanks!
>
>Regards, Renoir

Yes, this seems like a reasonable approach. Use
thisform.NewObject('cntFirst','cntFirst','mylib.vcx')
     if type('thisform.cntFirst')='O'
        with thisform.cntFirst
        .left=...
        .top=...
        .visible=.t.
        endwith
     endif
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform