Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid on a Pageframe
Message
From
10/10/2001 05:03:00
 
 
To
10/10/2001 01:09:20
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00566281
Message ID:
00566311
Views:
13
Hi!

Jimi, it is very strange indeed and probably you have some code on the form and grid that fire multiple repeated times causing slow down of the refreshing. You can take a look to what is happening during refresh by using built in VFP feature - eventa tracking or coverage profiler. Foirst is a simple - open oputput window in the debugger and switch on events tracking just before the moment when grid is refreshed slowly. See what is in output window. You will see all events called during that process. In your code you can also use DebugOut command to display something in the output window to see also how your methods work in that process. This way you will see which events are called too much times and why. Then when you figure out something extra that was not predicted in your code, put SET STEP ON in that code to stop a program and see how it works in step-by-step mode.

Let me know what you did figured out...

>Hi Wilfred,
>
>It only slow when I put it on the pageframe..
>The reaction of the grid and the refresh speed become slow, for example I have to wait half second for a cell to be activated after I click on it.. or the whole grid will flash once when the refresh event is triggered..
>
>I also tried to use SQL View instead of a table as the control source of the grid, but same thing happen.. any idea?
>
>Jimi
>
>
>>Have you tried to put it back and see whether it will become normal.
>>Also, what sort of things was going slow ?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform