Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turn 3 forms into 3 tabs on 1 form
Message
 
 
À
06/01/2009 21:50:10
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:
01371549
Message ID:
01371566
Vues:
20
>Ok, my (maybe) last question has to do with time to start the form. In reading what someone else just posted, it increases the load time to have all that stuff on one form, but it sounds like what you are saying is that by having them as classes, the instantiation of the form would be reasonably quick. Is that true? I didn't really understand what you meant by delayed instantiation though.

Don't add the container to the page frame (you can add it to the first page in design-time, if you want). For the rest of the pages you may have a code like this in Page.Activate
if type('this.cntInfo.name') <>'C' && First time
    this.NewObject('cntInfo','cntInfoClass')
    this.cntInfo.top = 1
    this.cntInfo.left = 1
    this.cntInfo.visible = .t.
endif
Or have a property for each page lActivate (added in pageframe Init, for example) and instead of checking type check for this property...
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