Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed of Page Frames
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00182848
Message ID:
00182880
Vues:
12
>Hi,
>We have created a tab window, i.e. a page frame with a lot of controls on each page.
>Unfortunately, using the page frame is extremely slow. Even on a fast computer it may take second(s) before the controls respond on mouse clicks and character input.
>Doing some experiments, it turned out that the number of controls on the active page as well as the number of pages (i.e. total number of controls I guess) affected the speed.
>I can understand that having a lot of controls on the active page makes it slower, but I don't understand why having more pages in the page frame makes user interaction so much slower. Don't the inactive pages get excluded from the event processing?
>Does anyone know of a method for making the page frame faster? Maybe one could embed the controls in a container within a page and explicitely show/hide this container when the page get (in-)activated!?

We have pageframes with many busy pages that are all fast - you're sure you're not refreshing more than the current page? What kinds of code are running, also? What version of vfp? I've had some slowness in vfp6 pages that didn't occur in vfp5. And, for some of the busiest pages, we have no controls at all on the pages. A (sometimes modal) form is launched/shown from the page Activate instead...that helps to cut down on total pageframe controls...And the Coverage Log might help to locate slow spots. A few ideas, anyway...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform