Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed up the highlight on the grid.
Message
From
31/08/2000 06:21:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00410648
Message ID:
00411196
Views:
18
>>>Dear all,
>>>
>>>Do you have any idea/suggestion to speed up the highlight on the grid? I set the code on the grid and highlight the row if user move the cursor. But the speed of highlight is too slow, cursor move another row, the highlight bar will move after 1 second. Can I solve the problem?
>>>
>>>Thanks a lot!!
>>>
>>>Best Regards,
>>>
>>>Justy Chow
>>
>>
Justy,
>>Debugger might be open. Also lockscreen has some effect. Download 'two grid classes' from files section and test with the class 'highlightedgrid'.
>>Cetin
>
>I believe that you must be using the .DynamicBackColor property to set the color. That property is evaluated when the grid is refreshed so if you have a large dataset in the grid, every row must be evaluated to determine the color. Could take a bit 'o' time.
>
>Steve


Steve,
Complex expressions might take time per row and expressions using ActiveRow. Other than that if you say 20 rows visible then 20 recs or 20000 recs table wouldn't make difference. Grid Dynamic* is reevalueated for the visible part only.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform