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:
00138988
Views:
13
Hi Aashish,

>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.

beside what others mentioned here about late data binding and loading a page only when it's activated, there are a number of further possibilities to speed up a form.

One is for example not to fill a combobox until the user enters it or even not until the user clicks on the drop down button.

In grids you can display only the visible columns and create the rest with a timer while the form already is usable or even not before the user actually tries to scroll do that area.

The same applies to complex data retrivial. That can done in a timer selecting a few records be tick event, or if you do a lot of complex data processing you can use a second EXE running in the background that performs such tasks and select the result into a shared temporary table. The user can use the form, while in the background the grid (or whatever) is filled with data.

A common problem are too many calls to Refresh(). When a form is loaded, Refresh() fires for every control, but often additionally Refreshes are issued.

just a few ideas...

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform