Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center Row in Grid
Message
From
12/04/2002 06:23:38
 
 
To
12/04/2002 01:56:45
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00643593
Message ID:
00644138
Views:
10
Hi!

DoScroll's speed is dependent on the speed of drawing only one row in grid (top line when scroll up or bottom when scrolld own). So, for grid with k rows displayed, when refreshing speed with all Dynamic* is T, and without is t, then speed of DoScrolls to scroll for centering active row will be T/k * k/2 = T/2, and speed of refreshing without Dynamic* will be t/2. As you see, it is just a half of the speed of complete refresh of the grid, so I think it is worth to clear up Dynamic* properties even for a few DoScrolls.


>Hi Vlad!
>thank you for your help.
>
>Do you have information about ratio of speed between DOSCROLL with or without DYNAMIC*'s?
>I understand this will spped up the code for a lot of (programmatic) movement as for center the record in the grid.
>I guess for a simple one-line-scroll to create a gap between top and the active row which is fired only in one case it will be a too big hammer.
>
>Agnes
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
Reply
Map
View

Click here to load this message in the networking platform