Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding pageframe makes slow ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00138749
Message ID:
00138771
Vues:
14
Hi Aashish,

Each control of each page will be instantiated when the form is loaded. This makes it slower. What you could do is create containters of all the controls in each page (except the default active page) and add code in the Activate() of each page to add the container dynamically.
*-- Page.Activate()
IF this.ControlCount = 0
   this.AddObject('cntPage1', 'cPage1')   && cPage1 is your class
ENDIF
this.Refresh()
This will simply distribute the time and the loading will be quicker.


>Hello friends,
>
>From the last last project experience, I felt that any form with pageframes makes the form run more slower in comparison to no pageframe forms.
>
>Do anybody facing the same problem or any solution or is it just a myth i have.
>
>Please some light on it.
>
>Thanks
>Aashish
>aashee@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform