Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding pageframe makes slow ?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00138749
Message ID:
00138771
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform